From 2e1588ebdce727746386aa603889eed7ca87e7d8 Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Tue, 26 Jan 2021 11:16:19 +0800 Subject: [PATCH] Update Github Action. --- .github/workflows/build.yml | 9 +++++++++ .github/workflows/release.yml | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95817329a5..11341fba44 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -183,6 +183,8 @@ jobs: -Destination "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32-store.appx" Copy-Item "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64.appx" ` -Destination "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx" + Copy-Item "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-arm64.appx" ` + -Destination "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-arm64-store.appx" - name: Deploy to Chocolatey shell: pwsh @@ -223,6 +225,13 @@ jobs: name: Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx + - name: Upload store appx ARM64 artifact + if: github.ref == 'refs/heads/master' + uses: actions/upload-artifact@v2 + with: + name: Bitwarden-${{ env.PACKAGE_VERSION }}-arm64-store.appx + path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-arm64-store.appx + - name: Upload nupkg artifact if: github.ref == 'refs/heads/master' uses: actions/upload-artifact@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd251d3dbd..c886a3aae4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -251,6 +251,16 @@ jobs: asset_path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64.appx asset_content_type: application + - name: Upload unsigned ARM64 Windows Store release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ needs.setup.outputs.release_upload_url }} + asset_name: Bitwarden-${{ env.PACKAGE_VERSION }}-arm64-store.appx + asset_path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-arm64.appx + asset_content_type: application + macos: runs-on: macos-latest needs: setup