diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index dbb68f7..09a84fa 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -82,7 +82,7 @@ jobs: # Upload intel app to release - name: Upload Release Asset - id: upload-release-asset + id: upload-release-asset-intel uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -93,16 +93,16 @@ jobs: asset_content_type: application/x-diskcopy if: matrix.os == 'macos' && matrix.arch == 'X64' -# # Upload arm64 app to release -# - name: Upload Release Asset -# id: upload-release-asset -# uses: actions/upload-release-asset@v1 -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# with: -# upload_url: ${{ steps.create_release.outputs.upload_url }} -# asset_path: dist-arm64/Hamster-darwin.dmg -# asset_name: Hamster-macos-apple-arm64.dmg -# asset_content_type: application/x-diskcopy -# if: matrix.os == 'self-hosted' && matrix.arch == 'ARM64' + # Upload arm64 app to release + - name: Upload Release Asset + id: upload-release-asset-apple + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: dist-arm64/Hamster-darwin.dmg + asset_name: Hamster-macos-apple-arm64.dmg + asset_content_type: application/x-diskcopy + if: matrix.os == 'self-hosted' && matrix.arch == 'ARM64'