Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Limit desktop release credentials to publish

Manav Rathi9e8c3f9c98c4
diff --git a/.github/workflows/photos-desktop-build.yml b/.github/workflows/photos-desktop-build.yml
index dde8d39446..d02c1e2088 100644
--- a/.github/workflows/photos-desktop-build.yml
+++ b/.github/workflows/photos-desktop-build.yml
@@ -138,6 +138,9 @@ jobs:
# https://github.com/electron-userland/electron-builder/issues/4181
run: sudo apt-get update && sudo apt-get install libarchive-tools
+ - name: Build
+ run: npm run build:ci
+
- name: Mint nightly token
id: nightly_token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
@@ -147,7 +150,7 @@ jobs:
repositories: nightly,photos-desktop
permission-contents: write
- - name: Build and publish
+ - name: Publish
shell: bash
run: |
if [ "${RUNNER_OS}" = "macOS" ]; then
@@ -155,8 +158,6 @@ jobs:
export CSC_KEY_PASSWORD="${MAC_OS_CERTIFICATE_PASSWORD}"
fi
- npm run build:ci
-
platform=${{ startsWith(matrix.os, 'macos') && 'mac' || startsWith(matrix.os, 'windows') && 'windows' || 'linux' }}
if [ "${IS_RC}" = "true" ]; then