From 997cf3bd9213fb8630cc46037b3516caf5037f91 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Thu, 29 Jun 2023 00:32:39 +0800 Subject: [PATCH] ci: use production environment --- .github/workflows/release-desktop-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-desktop-app.yml b/.github/workflows/release-desktop-app.yml index ea4305bc10..c64373ddd6 100644 --- a/.github/workflows/release-desktop-app.yml +++ b/.github/workflows/release-desktop-app.yml @@ -40,7 +40,7 @@ env: jobs: before-make: runs-on: ubuntu-latest - environment: ${{ github.ref_name == 'master' && 'production' || 'development' }} + environment: production outputs: RELEASE_VERSION: ${{ steps.get-canary-version.outputs.RELEASE_VERSION }} steps: @@ -73,7 +73,7 @@ jobs: path: apps/electron/resources/web-static make-distribution: - environment: ${{ github.ref_name == 'master' && 'production' || 'development' }} + environment: production strategy: # all combinations: macos-latest x64, macos-latest arm64, windows-latest x64, ubuntu-latest x64 matrix: