Skip to content

Commit

Permalink
try fix dynamic env
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Oct 23, 2024
1 parent 9306e66 commit 75adb2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ on:

env:
# NECESSARY FLAG TO CORRECTLY CONFIGURE THE VERSION FOR SCALA
RELEASEBUILD: yes
RELEASEBUILD: ${{ startsWith(github.event.ref, 'refs/tags/') && 'yes' || 'no' }}
SNAPSHOTBUILD: ${{ startsWith(github.event.ref, 'refs/tags/') && 'no' || 'yes' }}

jobs:
build:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -886,9 +886,6 @@ jobs:
build-msi-package:
uses: ./.github/workflows/build-msi.yml
if : github.event_name == 'pull_request' && contains(github.event.pull_request.body, '[test_msi]')
env:
RELEASEBUILD: ${{ startsWith(github.event.ref, 'refs/tags/') && 'yes' || 'no' }}
SNAPSHOTBUILD: ${{ startsWith(github.event.ref, 'refs/tags/') && 'no' || 'yes' }}

test-msi-package:
uses: ./.github/workflows/test-msi.yml
Expand Down

0 comments on commit 75adb2a

Please sign in to comment.