From 8af4d76984b54ea0f25f26d1d30d31219a9a3c6b Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Fri, 22 Jan 2021 21:09:29 +0000 Subject: [PATCH] switching to electron-builder publishing --- .github/workflows/release.yml | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 49240d4549..faa99a1db6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -280,7 +280,7 @@ jobs: run: ./scripts/safari-build.ps1 -copyonly - name: Build application (dist) - run: npm run dist:mac + run: npm run publish:mac env: APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }} APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} @@ -300,33 +300,3 @@ jobs: env: APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }} APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} - - - name: Upload .pkg 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 }}.pkg - asset_path: ./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg - asset_content_type: application/vnd.apple.installer+xml - - - name: Upload zip 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 }}-mac.zip - asset_path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-mac.zip - asset_content_type: application/zip - - - name: Upload .dmg 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 }}.dmg - asset_path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}.dmg - asset_content_type: application/x-apple-diskimage