From db8c55207a6b055bff67eb3907b9c955f1707111 Mon Sep 17 00:00:00 2001 From: Sturdy <91910406+apollo-sturdy@users.noreply.github.com> Date: Tue, 6 Feb 2024 19:32:19 +0100 Subject: [PATCH] ci: Add artifacts to releases --- .github/workflows/artifacts.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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 }}