Changeset 18154 in josm


Ignore:
Timestamp:
2021-08-22T01:31:43+02:00 (3 years ago)
Author:
Don-vip
Message:

see #17083 - setup GITHUB_PATH in a dedicated step

Rationale: https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#adding-a-system-path

Prepends a directory to the system PATH variable and makes it available to all subsequent actions in the current job; the currently running action cannot access the updated path variable.

File:
1 edited

Legend:

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

    r18152 r18154  
    153153          ./native/macosx/macos-jpackage.sh ${{ needs.createrelease.outputs.josm_revision }}
    154154
     155      - name: Setup Windows PATH
     156        if: ${{ runner.os == 'windows' && matrix.java != '8' && matrix.java != '11' && always() }}
     157        run: |
     158          echo "C:\Program Files (x86)\WiX Toolset v3.11\bin" >> $GITHUB_PATH
     159          echo "C:\Program Files (x86)\Windows Kits\10\bin\x64" >> $GITHUB_PATH
     160
    155161      - name: Build and package for Windows
    156162        if: ${{ runner.os == 'windows' && matrix.java != '8' && matrix.java != '11' && always() }}
     
    160166          SIGN_TSA: ${{ secrets.SIGN_TSA }}
    161167        run: |
    162           echo "C:\Program Files (x86)\WiX Toolset v3.11\bin" >> $GITHUB_PATH
    163           echo "C:\Program Files (x86)\Windows Kits\10\bin\x64" >> $GITHUB_PATH
    164168          ./native/windows/win-jpackage.sh ${{ needs.createrelease.outputs.josm_revision }}
    165169
Note: See TracChangeset for help on using the changeset viewer.