From ed6a886eccfe62b9b4405f8471becd2bdc24fd44 Mon Sep 17 00:00:00 2001 From: seven Date: Fri, 28 Jun 2024 02:56:00 +0800 Subject: [PATCH] fix: linux crross compiler Signed-off-by: seven --- .github/workflows/release.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 049951f..73e9e68 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: if: matrix.os == 'ubuntu-latest' run: | sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf pkg-config libssl-dev + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf pkg-config libssl-dev aarch64-linux-gnu-gcc - name: install frontend dependencies run: npm ci --legacy-peer-deps - run: npm run lint:check @@ -82,6 +82,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PKG_CONFIG_ALLOW_CROSS: 1 + CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc # APPLE_ID: ${{ secrets.APPLE_ID }} # APPLE_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} # APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} @@ -100,7 +101,22 @@ jobs: releaseDraft: true prerelease: true - + - name: Sign files with Trusted Signing + if: matrix.os == 'windows-latest' + uses: azure/trusted-signing-action@v0.3.19 + with: + azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }} + azure-client-id: ${{ secrets.AZURE_CLIENT_ID }} + azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }} + endpoint: https://eus.codesigning.azure.net/ + trusted-signing-account-name: geek-fun + certificate-profile-name: geek-fun + files-folder: ${{ github.workspace }}\src-tauri\target\release\bundle\nsis\ + files-folder-depth: 7 + files-folder-filter: exe + file-digest: SHA256 + timestamp-rfc3161: http://timestamp.acs.microsoft.com + timestamp-digest: SHA256 # - name: Distribute artifacts to R2 # uses: ryand56/r2-upload-action@master