bump version #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Zip release excluding docs | |
on: | |
# Only trigger on push with a version tag | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
Zip-release: | |
# Only run on main branch | |
if: ${{ github.ref == 'refs/heads/main' }} | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Only zip python files | |
run: zip image-matcher.zip *.py | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: image-matcher.zip | |