From 71d7ce9d013669f39c82f9be279b99e05ee30178 Mon Sep 17 00:00:00 2001 From: gdesmar <75089569+gdesmar@users.noreply.github.com> Date: Thu, 25 Jul 2024 20:43:14 +0000 Subject: [PATCH] Add release action on tags --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a0e9ed6..10db61ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,11 @@ name: innoextract CI -on: [push] +on: + push: + # Runs on every pushed commit jobs: - build_and_test: + build: runs-on: ubuntu-latest steps: - name: Checkout repository @@ -23,3 +25,8 @@ jobs: with: name: innoextract path: build/innoextract + - name: Release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: build/innoextract