diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f903f73..fefed2c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,12 @@ on: branches: - chrome-docker + tags: + - v* + +permissions: + contents: write + jobs: hello_world: runs-on: ubuntu-latest @@ -20,4 +26,10 @@ jobs: zip -r dist/buctAuthentication.zip . -x "*.git*" -x "dist/*" - name: List dist files - run: ls -la dist \ No newline at end of file + run: ls -la dist + + - name: Upload Release + if: startsWith(github.ref, 'refs/tags/') + uses: softprops/action-gh-release@v2 + with: + files: dist/buctAuthentication.zip \ No newline at end of file