ci: dynamic setup server deploy environment by release tag (#4790)

This commit is contained in:
LongYinan
2023-11-01 15:38:15 +08:00
committed by GitHub
parent 0273ea8b00
commit 2d62ec72a7
8 changed files with 31 additions and 27 deletions
-3
View File
@@ -44,7 +44,6 @@ env:
jobs:
set-build-version:
runs-on: ubuntu-latest
environment: production
outputs:
version: 0.0.0-internal.${{ steps.version.outputs.version }}
steps:
@@ -55,7 +54,6 @@ jobs:
before-make:
runs-on: ubuntu-latest
environment: production
needs:
- set-build-version
steps:
@@ -83,7 +81,6 @@ jobs:
path: packages/frontend/electron/resources/web-static
make-distribution:
environment: production
strategy:
# all combinations: macos-latest x64, macos-latest arm64, ubuntu-latest x64
# For windows, we need a separate approach