diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml new file mode 100644 index 0000000..2ed825a --- /dev/null +++ b/.github/workflows/pack.yml @@ -0,0 +1,24 @@ +name: Pack output files + +on: + push: + tags: + - 'v*' + +jobs: + upload: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + - name: zip output folder + run: | + cd output + zip -r output.zip * + - name: upload to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: output/output.zip + tag: ${{ github.ref }} + prerelease: true \ No newline at end of file