Skip to content

update actions

update actions #9

Workflow file for this run

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