Skip to content

Commit

Permalink
Building package only if it's tagged.
Browse files Browse the repository at this point in the history
  • Loading branch information
alee-ntap committed Nov 27, 2023
1 parent 8df8887 commit 2dbf1f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ on:
message:
type: string
default: ""

env:
GH_TOKEN: ${{ github.token }}

jobs:
source:
name: source package
if: startsWith(github.ref, 'refs/tags/')
outputs:
pkg: ${{ steps.build.outputs.pkg }}
build_options: ${{ steps.build.outputs.build_options }}
Expand Down

0 comments on commit 2dbf1f9

Please sign in to comment.