Changeset 18155 in josm for trunk/.github/workflows/ant.yml


Ignore:
Timestamp:
2021-08-22T02:57:40+02:00 (3 years ago)
Author:
Don-vip
Message:

see #17083 - build both exe and msi windows installers, include JOSM version in filename, add additional console launcher

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/ant.yml

    r18154 r18155  
    177177          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`.
    178178          asset_path: app/JOSM.zip
    179           asset_name: JOSM-${{ runner.os}}-java${{ matrix.java }}.zip
     179          asset_name: JOSM-${{ runner.os}}-java${{ matrix.java }}-${{ needs.createrelease.outputs.josm_revision }}.zip
    180180          asset_content_type: application/zip
    181181
     182      - name: Upload Windows Installer executable
     183        if: ${{ runner.os == 'windows' && matrix.java != '8' && matrix.java != '11' && always() }}
     184        id: upload-msi
     185        uses: actions/upload-release-asset@v1
     186        env:
     187          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
     188        with:
     189          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`.
     190          asset_path: app/JOSM.exe
     191          asset_name: JOSM-${{ runner.os}}-java${{ matrix.java }}-${{ needs.createrelease.outputs.josm_revision }}.exe
     192          asset_content_type: application/vnd.microsoft.portable-executable
     193
    182194      - name: Upload Windows Installer package
    183195        if: ${{ runner.os == 'windows' && matrix.java != '8' && matrix.java != '11' && always() }}
     
    189201          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`.
    190202          asset_path: app/JOSM.msi
    191           asset_name: JOSM-${{ runner.os}}-java${{ matrix.java }}.msi
     203          asset_name: JOSM-${{ runner.os}}-java${{ matrix.java }}-${{ needs.createrelease.outputs.josm_revision }}.msi
    192204          asset_content_type: application/x-ole-storage
Note: See TracChangeset for help on using the changeset viewer.