diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 4de0076..433e637 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -5,6 +5,8 @@ on: branches: - master - main + tags: + - "v*.*.*" pull_request: branches: - master @@ -33,3 +35,10 @@ jobs: with: name: artifacts path: artifacts/ + + - name: Add artifacts to release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: artifacts/* + token: ${{ secrets.GITHUB_TOKEN }}