Skip to content

Commit

Permalink
Set RELEASEBUILD in build-msi.yaml dynamically by checking if CI wa…
Browse files Browse the repository at this point in the history
…s triggered by tag
  • Loading branch information
WojciechMazur committed Oct 23, 2024
1 parent 3f60f22 commit af7ff5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ on:
workflow_call:

env:
# NECESSARY FLAG TO CORRECTLY CONFIGURE THE VERSION FOR SCALA
RELEASEBUILD: yes
# Release only happends when triggering CI by pushing tag
RELEASEBUILD: ${{ startsWith(github.event.ref, 'refs/tags/') && 'yes' || 'no' }}

jobs:
build:
Expand Down

0 comments on commit af7ff5b

Please sign in to comment.