Changeset 18139 in josm for trunk/.github/workflows
- Timestamp:
- 2021-08-20T18:11:07+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/ant.yml
r18138 r18139 75 75 java: [8, 11, 16, 17-ea, 18-ea] 76 76 os: [ubuntu-latest, macos-latest, windows-latest] 77 exclude:78 - java: 879 os: macos-latest80 - java: 1181 os: macos-latest82 77 name: Java ${{ matrix.java }} on ${{ matrix.os }} 83 78 steps: … … 143 138 144 139 - name: Build and package for macOS 145 if: ${{ runner.os == 'macos' && always() }}140 if: ${{ runner.os == 'macos' && (matrix.java == '16' || matrix.java == '17-ea' || matrix.java == '18-ea' ) && always() }} 146 141 env: 147 142 CERT_MACOS_P12: ${{ secrets.CERT_MACOS_P12 }} … … 152 147 153 148 - name: Build and package for Windows 154 if: ${{ runner.os == 'windows' && always() }}149 if: ${{ runner.os == 'windows' && (matrix.java == '16' || matrix.java == '17-ea' || matrix.java == '18-ea' ) && always() }} 155 150 run: | 156 151 if [ ! -f tools/${{ env.WIX_HOME }}-binaries.zip ]; then 157 152 curl -o tools/${{ env.WIX_HOME }}-binaries.zip ${{ env.WIX_URL }} 158 153 fi 159 Expand-Archive -Path tools/${{ env.WIX_HOME }}-binaries.zip -DestinationPath ${{ env.WIX_HOME }}154 PowerShell -Command Expand-Archive -Path tools/${{ env.WIX_HOME }}-binaries.zip -DestinationPath ${{ env.WIX_HOME }} 160 155 echo "${{ env.WIX_HOME }}" >> $GITHUB_PATH 161 156 ./native/windows/win-jpackage.sh ${{ needs.createrelease.outputs.josm_revision }} 162 157 163 158 - name: Upload macOS app 164 if: ${{ runner.os == 'macos' && always() }}159 if: ${{ runner.os == 'macos' && (matrix.java == '16' || matrix.java == '17-ea' || matrix.java == '18-ea' ) && always() }} 165 160 id: upload-app 166 161 uses: actions/upload-release-asset@v1 … … 174 169 175 170 - name: Upload Windows Installer package 176 if: ${{ runner.os == 'windows' && always() }}171 if: ${{ runner.os == 'windows' && (matrix.java == '16' || matrix.java == '17-ea' || matrix.java == '18-ea' ) && always() }} 177 172 id: upload-msi 178 173 uses: actions/upload-release-asset@v1
Note:
See TracChangeset
for help on using the changeset viewer.