@@ -27,10 +27,12 @@ jobs:
2727
2828 LINUX_ARTIFACT_ID=$(gh api "/repos/$OWNER/$REPO/actions/artifacts" --jq ".artifacts.[] | select(.workflow_run.id==$PREVIOUS_JOB_ID) | select(.expired==false) | select(.name==\"linux-app.AppImage\") | .id")
2929 WIN_ARTIFACT_ID=$(gh api "/repos/$OWNER/$REPO/actions/artifacts" --jq ".artifacts.[] | select(.workflow_run.id==$PREVIOUS_JOB_ID) | select(.expired==false) | select(.name==\"win-app.exe\") | .id")
30- MACOS_ARTIFACT_ID=$(gh api "/repos/$OWNER/$REPO/actions/artifacts" --jq ".artifacts.[] | select(.workflow_run.id==$PREVIOUS_JOB_ID) | select(.expired==false) | select(.name==\"macos-app.dmg\") | .id")
30+ MACOS_x64_ARTIFACT_ID=$(gh api "/repos/$OWNER/$REPO/actions/artifacts" --jq ".artifacts.[] | select(.workflow_run.id==$PREVIOUS_JOB_ID) | select(.expired==false) | select(.name==\"macos-app-x64.dmg\") | .id")
31+ MACOS_arm64_ARTIFACT_ID=$(gh api "/repos/$OWNER/$REPO/actions/artifacts" --jq ".artifacts.[] | select(.workflow_run.id==$PREVIOUS_JOB_ID) | select(.expired==false) | select(.name==\"macos-app-arm64.dmg\") | .id")
3132 echo "LINUX_ARTIFACT_ID=$LINUX_ARTIFACT_ID" >> "$GITHUB_ENV"
3233 echo "WIN_ARTIFACT_ID=$WIN_ARTIFACT_ID" >> "$GITHUB_ENV"
33- echo "MACOS_ARTIFACT_ID=$MACOS_ARTIFACT_ID" >> "$GITHUB_ENV"
34+ echo "MACOS_x64_ARTIFACT_ID=$MACOS_x64_ARTIFACT_ID" >> "$GITHUB_ENV"
35+ echo "MACOS_arm64_ARTIFACT_ID=$MACOS_arm64_ARTIFACT_ID" >> "$GITHUB_ENV"
3436
3537 PR_NUMBER=$(jq -r '.pull_requests[0].number' <<< "$WORKFLOW_RUN_EVENT_OBJ")
3638 echo "PR_NUMBER=$PR_NUMBER" >> "$GITHUB_ENV"
5153
5254 | Name | Platform | Link |
5355 |-----------|----------|------|
54- | win-app.exe | Windows | [Link](https://github.com/${{github.repository_owner}}/${{github.event.repository.name}}/actions/runs/${{ env.PREVIOUS_JOB_ID }}/artifacts/${{ env.WIN_ARTIFACT_ID }}) |
55- | macos-app.dmg | MacOS | [Link](https://github.com/${{github.repository_owner}}/${{github.event.repository.name}}/actions/runs/${{ env.PREVIOUS_JOB_ID }}/artifacts/${{ env.MACOS_ARTIFACT_ID }}) |
56- | linux-app.AppImage | Linux | [Link](https://github.com/${{github.repository_owner}}/${{github.event.repository.name}}/actions/runs/${{ env.PREVIOUS_JOB_ID }}/artifacts/${{ env.LINUX_ARTIFACT_ID }}) |
56+ | win-app.exe | Windows (x64) | [Link](https://github.com/${{github.repository_owner}}/${{github.event.repository.name}}/actions/runs/${{ env.PREVIOUS_JOB_ID }}/artifacts/${{ env.WIN_ARTIFACT_ID }}) |
57+ | macos-app-x64.dmg | MacOS (x64) | [Link](https://github.com/${{github.repository_owner}}/${{github.event.repository.name}}/actions/runs/${{ env.PREVIOUS_JOB_ID }}/artifacts/${{ env.MACOS_x64_ARTIFACT_ID }}) |
58+ | macos-app-arm64.dmg | MacOS (arm64) | [Link](https://github.com/${{github.repository_owner}}/${{github.event.repository.name}}/actions/runs/${{ env.PREVIOUS_JOB_ID }}/artifacts/${{ env.MACOS_arm64_ARTIFACT_ID }}) |
59+ | linux-app.AppImage | Linux (x64) | [Link](https://github.com/${{github.repository_owner}}/${{github.event.repository.name}}/actions/runs/${{ env.PREVIOUS_JOB_ID }}/artifacts/${{ env.LINUX_ARTIFACT_ID }}) |
0 commit comments