@@ -11,12 +11,12 @@ jobs:
1111 fail-fast : false
1212 matrix :
1313 include :
14- # - platform: 'macos-latest' # for Arm based macs (M1 and above).
15- # args: '--target aarch64-apple-darwin'
16- # - platform: 'macos-latest' # for Intel based macs.
14+ - platform : ' macos-latest' # for Arm based macs (M1 and above).
15+ args : ' --target aarch64-apple-darwin'
16+ # - platform: 'macos-latest' # for Intel based macs.
1717 # args: '--target x86_64-apple-darwin'
18- # - platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
19- # args: ''
18+ - platform : ' ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
19+ args : ' '
2020 - platform : ' windows-latest'
2121 args : ' '
2222
@@ -47,12 +47,11 @@ jobs:
4747 run : echo "SHORT_SHA=$("${{ github.sha }}".SubString(0, 8))" >> $env:GITHUB_ENV
4848 - name : Get short SHA(non windows)
4949 if : matrix.platform != 'windows-latest'
50- run : |
51- calculatedSha=$(git rev-parse --short ${{ github.sha }})
52- echo "SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
50+ run : echo "SHORT_SHA=${GITHUB_SHA:0:8}" >> $GITHUB_ENV
5351 - uses : tauri-apps/tauri-action@v0
5452 env :
5553 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5654 with :
5755 tagName : ${{ env.SHORT_SHA }}
58- releaseName : ${{ env.SHORT_SHA }}
56+ releaseName : ${{ env.SHORT_SHA }}
57+ args : ${{ matrix.args }}
0 commit comments