Skip to content

Commit

Permalink
determine release tag checkout tag on windows and mac as well
Browse files Browse the repository at this point in the history
  • Loading branch information
roxanneskelly committed Sep 8, 2023
1 parent 8fe8c67 commit b4dbd2e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ jobs:
Remove-Item -Recurse -Force $Env:JAVA_HOME_11_X64 -ErrorAction Ignore
Remove-Item -Recurse -Force $Env:JAVA_HOME_8_X64 -ErrorAction Ignore
Get-PSDrive
- run: "& .\\build.${{ matrix.name }}.ps1 \"${{ github.event.inputs.commitHash }}\""
- name: Determine Release Tag
env:
RELEASE: ${{ github.ref_name }}
id: release_tag
run: echo "::set-output name=tag::${RELEASE%.*/}"
- run: "& .\\build.${{ matrix.name }}.ps1 \"${{ steps.release_tag.outputs.tag }}\""
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
Expand All @@ -57,7 +62,12 @@ jobs:
- name: Select Xcode 13.0
run: sudo xcode-select --switch /Applications/Xcode_13.0.app/Contents/Developer
- run: brew install ninja
- run: ./build.${{ matrix.name }}.sh "${{ github.event.inputs.commitHash }}"
- name: Determine Release Tag
env:
RELEASE: ${{ github.ref_name }}
id: release_tag
run: echo "::set-output name=tag::${RELEASE%.*/}"
- run: ./build.${{ matrix.name }}.sh "${{ steps.release_tag.outputs.tag }}"
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit b4dbd2e

Please sign in to comment.