Skip to content

Commit

Permalink
Add: GitHub Action
Browse files Browse the repository at this point in the history
Signed-off-by: NaveenKumar Namachivayam <[email protected]>
  • Loading branch information
QAInsights committed Nov 19, 2023
1 parent 11873ec commit 7c58084
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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'

0 comments on commit 7c58084

Please sign in to comment.