Skip to content

Commit 99f7fed

Browse files
committed
perf: change again
1 parent 31f1ae5 commit 99f7fed

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ jobs:
6161
fail-fast: false
6262
matrix:
6363
include:
64-
- platform: "macos-latest" # for Arm based macs (M1 and above).
64+
- os: "macos-latest" # for Arm based macs (M1 and above).
6565
args: "--target aarch64-apple-darwin"
66-
- platform: "macos-latest" # for Intel based macs.
66+
- os: "macos-latest" # for Intel based macs.
6767
args: "--target x86_64-apple-darwin"
68-
- platform: "ubuntu-22.04" # for Tauri v1 you could replace this with ubuntu-20.04.
68+
- os: "ubuntu-22.04" # for Tauri v1 you could replace this with ubuntu-20.04.
6969
args: ""
70-
- platform: "windows-latest"
70+
- os: "windows-latest"
7171
args: ""
7272

7373
runs-on: ${{ matrix.os }}
@@ -101,7 +101,7 @@ jobs:
101101
uses: dtolnay/rust-toolchain@stable
102102
with:
103103
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
104-
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
104+
targets: ${{ matrix.os == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
105105

106106
- name: Install system dependencies (Ubuntu)
107107
if: matrix.os == 'ubuntu-latest'
@@ -116,16 +116,8 @@ jobs:
116116
uses: tauri-apps/tauri-action@v0
117117
env:
118118
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119-
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
120-
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
121-
XCODE_APP_TEAM_ID: ${{ secrets.XCODE_APP_TEAM_ID }}
122-
XCODE_APP_LOADER_EMAIL: ${{ secrets.XCODE_APP_LOADER_EMAIL }}
123-
XCODE_APP_LOADER_PASSWORD: ${{ secrets.XCODE_APP_LOADER_PASSWORD }}
124-
BUILD_CERTIFICATE_BASE64: ${{ secrets.CSC_LINK }}
125-
P12_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
126-
CSC_LINK: ${{ secrets.CSC_LINK }}
127-
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
128119
with:
120+
args: ${{ matrix.args }}
129121
tagName: ${{ github.ref_name }}
130122
releaseName: "JumpServer Client v__VERSION__"
131123
releaseBody: "See the assets to download this version and install."

0 commit comments

Comments
 (0)