Changeset 18138 in josm for trunk/.github
- Timestamp:
- 2021-08-20T17:24:54+02:00 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 17 17 validator-* 18 18 .josm-local 19 app
-
- Property svn:ignore
-
trunk/.github/workflows/ant.yml
r18136 r18138 4 4 # ANT_HOME is also our ant version 5 5 ANT_HOME: 'apache-ant-1.10.11' 6 WIX_HOME: 'wix3' 7 WIX_URL: 'https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip' 6 8 on: 7 9 push: … … 56 58 with: 57 59 tag_name: ${{ env.josm_release_tag }} 58 release_name: JOSM .apprelease ${{ env.josm_release_tag }}60 release_name: JOSM release ${{ env.josm_release_tag }} 59 61 body: | 60 JOSM .apprelease ${{ env.josm_release_tag }}62 JOSM release ${{ env.josm_release_tag }} 61 63 draft: false 62 64 prerelease: ${{ env.josm_prerelease }} … … 152 154 if: ${{ runner.os == 'windows' && always() }} 153 155 run: | 156 if [ ! -f tools/${{ env.WIX_HOME }}-binaries.zip ]; then 157 curl -o tools/${{ env.WIX_HOME }}-binaries.zip ${{ env.WIX_URL }} 158 fi 159 Expand-Archive -Path tools/${{ env.WIX_HOME }}-binaries.zip -DestinationPath ${{ env.WIX_HOME }} 160 echo "${{ env.WIX_HOME }}" >> $GITHUB_PATH 154 161 ./native/windows/win-jpackage.sh ${{ needs.createrelease.outputs.josm_revision }} 155 162 156 - name: Upload nativeapp157 if: ${{ ( runner.os == 'macos' || runner.os == 'windows' )&& always() }}163 - name: Upload macOS app 164 if: ${{ runner.os == 'macos' && always() }} 158 165 id: upload-app 159 166 uses: actions/upload-release-asset@v1 … … 165 172 asset_name: JOSM-${{ runner.os}}-java${{ matrix.java }}.zip 166 173 asset_content_type: application/zip 174 175 - name: Upload Windows Installer package 176 if: ${{ runner.os == 'windows' && always() }} 177 id: upload-msi 178 uses: actions/upload-release-asset@v1 179 env: 180 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 181 with: 182 upload_url: ${{ needs.createrelease.outputs.upload_url }} # This pulls from the CREATE RELEASE job above, referencing its ID to get its outputs object, which include a `upload_url`. 183 asset_path: app/JOSM.msi 184 asset_name: JOSM-${{ runner.os}}-java${{ matrix.java }}.msi 185 asset_content_type: application/x-ole-storage
Note:
See TracChangeset
for help on using the changeset viewer.