building arm64.dmg

This commit is contained in:
antelle 2020-11-30 21:16:17 +01:00
parent bd4a6d0eee
commit 464c49257a
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 27 additions and 8 deletions

View File

@ -136,11 +136,16 @@ jobs:
p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
- name: Grunt - name: Grunt
run: grunt desktop-darwin ${{ github.repository != 'keeweb/keeweb' && '--skip-sign' || '' }} run: grunt desktop-darwin ${{ github.repository != 'keeweb/keeweb' && '--skip-sign' || '' }}
- name: Upload dmg artifact - name: Upload x64 dmg artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.dmg name: KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.x64.dmg
path: dist/desktop/KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.dmg path: dist/desktop/KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.x64.dmg
- name: Upload arm64 dmg artifact
uses: actions/upload-artifact@v1
with:
name: KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.arm64.dmg
path: dist/desktop/KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.arm64.dmg
win32: win32:
runs-on: windows-latest runs-on: windows-latest
@ -274,10 +279,15 @@ jobs:
with: with:
name: KeeWeb-${{ steps.get_tag.outputs.tag }}.linux.x86_64.rpm name: KeeWeb-${{ steps.get_tag.outputs.tag }}.linux.x86_64.rpm
path: assets path: assets
- name: Download darwin.dmg artifact - name: Download darwin.x64.dmg artifact
uses: actions/download-artifact@v1 uses: actions/download-artifact@v1
with: with:
name: KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.dmg name: KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.x64.dmg
path: assets
- name: Download darwin.arm64.dmg artifact
uses: actions/download-artifact@v1
with:
name: KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.arm64.dmg
path: assets path: assets
- name: Download win32.ia32.exe artifact - name: Download win32.ia32.exe artifact
uses: actions/download-artifact@v1 uses: actions/download-artifact@v1
@ -414,14 +424,23 @@ jobs:
asset_path: assets/KeeWeb-${{ steps.get_tag.outputs.tag }}.linux.x86_64.rpm asset_path: assets/KeeWeb-${{ steps.get_tag.outputs.tag }}.linux.x86_64.rpm
asset_name: KeeWeb-${{ steps.get_tag.outputs.tag }}.linux.x86_64.rpm asset_name: KeeWeb-${{ steps.get_tag.outputs.tag }}.linux.x86_64.rpm
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- name: Upload darwin.dmg asset - name: Upload darwin.x64.dmg asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: assets/KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.dmg asset_path: assets/KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.x64.dmg
asset_name: KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.dmg asset_name: KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.x64.dmg
asset_content_type: application/octet-stream
- name: Upload darwin.arm64.dmg asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: assets/KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.arm64.dmg
asset_name: KeeWeb-${{ steps.get_tag.outputs.tag }}.mac.arm64.dmg
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- name: Upload win32.ia32.exe asset - name: Upload win32.ia32.exe asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@v1