Skip to content

Commit

Permalink
add check if msi are created
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Dec 8, 2020
1 parent ff40324 commit f517b19
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ jobs:
./gradlew packageImporterApplicationExe
./gradlew packageApplicationMsi
./gradlew packageImporterApplicationMsi
- name: Check MSI
if: startsWith(matrix.os, 'windows') && startsWith(github.ref, 'refs/tags') && matrix.java == '1.8'
run: |
msi=(`find build/packaged/installImporterDist/bundles -maxdepth 1 -name "*.msi"`)
if [ ${#msi[@]} == 0 ]; then
exit 1
fi
msi=(`find build/packaged/main/bundles -maxdepth 1 -name "*.msi"`)
if [ ${#msi[@]} == 0 ]; then
exit 1
fi
shell: bash
- name: Build Dmg
if: startsWith(matrix.os, 'macos') && startsWith(github.ref, 'refs/tags') && matrix.java == '1.8'
run: |
Expand Down

0 comments on commit f517b19

Please sign in to comment.