Skip to content

Commit

Permalink
Add release action on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
gdesmar committed Jul 25, 2024
1 parent aa0e490 commit 71d7ce9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 71d7ce9

Please sign in to comment.