Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
arcuri82 committed Oct 11, 2023
1 parent 0994ecd commit b95c543
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ env:
evomaster-version: 1.6.2
jdk: 17
retention-days: 1
installer-windows: evomaster-${evomaster-version}.msi
installer-osx: evomaster-${evomaster-version}.dmg
installer-debian: evomaster-${evomaster-version}-1_amd64.deb
## Doesn't work, ie, use env in env
# installer-windows: evomaster-${evomaster-version}.msi
# installer-osx: evomaster-${evomaster-version}.dmg
# installer-debian: evomaster-${evomaster-version}-1_amd64.deb

jobs:

Expand Down Expand Up @@ -65,7 +66,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: evomaster.msi
path: release/${{env.installer-windows}}
path: release/evomaster-${evomaster-version}.msi
retention-days: ${{env.retention-days}}
if-no-files-found: error

Expand All @@ -90,7 +91,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: evomaster.dmg
path: release/${{env.installer-osx}}
path: release/evomaster-${evomaster-version}.dmg
retention-days: ${{env.retention-days}}
if-no-files-found: error

Expand All @@ -115,7 +116,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: evomaster.deb
path: release/${{env.installer-debian}}
path: release/evomaster-${evomaster-version}-1_amd64.deb
retention-days: ${{env.retention-days}}
if-no-files-found: error

Expand Down Expand Up @@ -163,7 +164,7 @@ jobs:
fail_on_unmatched_files: true
files: |
evomaster.jar
${{env.installer-windows}}
${{env.installer-osx}}
${{env.installer-debian}}
evomaster-${evomaster-version}.msi
evomaster-${evomaster-version}.dmg
evomaster-${evomaster-version}-1_amd64.deb

0 comments on commit b95c543

Please sign in to comment.