Skip to content

Commit 0cfef9d

Browse files
committed
ci: use another github token const as mac builds fail frequently
1 parent 4beaeaf commit 0cfef9d

10 files changed

+47
-47
lines changed

.github/workflows/desktop-linux-test-pull.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
3030
- name: npm install ci deps
3131
env:
32-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
GH_TOKEN: ${{ github.token }}
3333
run: npm ci
3434

3535
- name: Download phoenix and build build phoenix dist-test
3636
env:
37-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
GH_TOKEN: ${{ github.token }}
3838
run: |
3939
npm run _ci-clonePhoenixForTests
4040
cd ..
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: build test runner
4747
env:
48-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
GH_TOKEN: ${{ github.token }}
4949
run: |
5050
npm ci
5151
npm run releaseDistTestDebug

.github/workflows/desktop-mac-m1-test-pull.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Download phoenix and build build phoenix dist-test
2929
env:
30-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
GH_TOKEN: ${{ github.token }}
3131
run: |
3232
npm run _ci-clonePhoenixForTests
3333
cd ..
@@ -38,7 +38,7 @@ jobs:
3838
3939
- name: build test runner
4040
env:
41-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
GH_TOKEN: ${{ github.token }}
4242
run: |
4343
npm ci
4444
npm run releaseDistTestDebug

.github/workflows/desktop-mac-test-pull.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222

2323
- name: npm install ci deps
2424
env:
25-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
GH_TOKEN: ${{ github.token }}
2626
run: npm ci
2727

2828
- name: Download phoenix and build build phoenix dist-test
2929
env:
30-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
GH_TOKEN: ${{ github.token }}
3131
run: |
3232
npm run _ci-clonePhoenixForTests
3333
cd ..
@@ -38,7 +38,7 @@ jobs:
3838
3939
- name: build test runner
4040
env:
41-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
GH_TOKEN: ${{ github.token }}
4242
run: |
4343
npm ci
4444
npm run releaseDistTestDebug

.github/workflows/desktop-windows-test-pull.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222

2323
- name: npm install ci deps
2424
env:
25-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
GH_TOKEN: ${{ github.token }}
2626
run: npm ci
2727

2828
- name: Download phoenix and build build phoenix dist-test
2929
env:
30-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
GH_TOKEN: ${{ github.token }}
3131
run: |
3232
npm run _ci-clonePhoenixForTests
3333
cd ..
@@ -38,7 +38,7 @@ jobs:
3838
3939
- name: build test runner
4040
env:
41-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
GH_TOKEN: ${{ github.token }}
4242
run: |
4343
npm ci
4444
npm run releaseDistTestDebug

.github/workflows/prod-desktop-tests-on-pull.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
2828
- name: npm install ci deps
2929
env:
30-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
GH_TOKEN: ${{ github.token }}
3131
run: npm ci
3232

3333
- name: Download phoenix and build build phoenix dist-test
3434
env:
35-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
GH_TOKEN: ${{ github.token }}
3636
run: |
3737
npm run _ci-clonePhoenixForTests
3838
cd ..
@@ -95,12 +95,12 @@ jobs:
9595

9696
- name: npm install ci deps
9797
env:
98-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98+
GH_TOKEN: ${{ github.token }}
9999
run: npm ci
100100

101101
- name: Download phoenix and build build phoenix dist-test
102102
env:
103-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103+
GH_TOKEN: ${{ github.token }}
104104
run: |
105105
npm run _ci-clonePhoenixForTests
106106
cd ..
@@ -111,7 +111,7 @@ jobs:
111111
112112
- name: build test runner
113113
env:
114-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
114+
GH_TOKEN: ${{ github.token }}
115115
run: |
116116
npm ci
117117
npm run releaseDistTestDebug
@@ -165,12 +165,12 @@ jobs:
165165

166166
- name: npm install ci deps
167167
env:
168-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
168+
GH_TOKEN: ${{ github.token }}
169169
run: npm ci
170170

171171
- name: Download phoenix and build build phoenix dist-test
172172
env:
173-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
173+
GH_TOKEN: ${{ github.token }}
174174
run: |
175175
npm run _ci-clonePhoenixForTests
176176
cd ..
@@ -181,7 +181,7 @@ jobs:
181181
182182
- name: build test runner
183183
env:
184-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
184+
GH_TOKEN: ${{ github.token }}
185185
run: |
186186
npm ci
187187
npm run releaseDistTestDebug

.github/workflows/staging-desktop-tests-on-pull.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
2828
- name: npm install ci deps
2929
env:
30-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
GH_TOKEN: ${{ github.token }}
3131
run: npm ci
3232

3333
- name: Download phoenix and build build phoenix dist-test
3434
env:
35-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
GH_TOKEN: ${{ github.token }}
3636
run: |
3737
npm run _ci-clonePhoenixForTests
3838
cd ..
@@ -43,7 +43,7 @@ jobs:
4343
4444
- name: build test runner
4545
env:
46-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
GH_TOKEN: ${{ github.token }}
4747
run: |
4848
npm ci
4949
npm run releaseDistTestDebug
@@ -90,12 +90,12 @@ jobs:
9090

9191
- name: npm install ci deps
9292
env:
93-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
GH_TOKEN: ${{ github.token }}
9494
run: npm ci
9595

9696
- name: Download phoenix and build build phoenix dist-test
9797
env:
98-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98+
GH_TOKEN: ${{ github.token }}
9999
run: |
100100
npm run _ci-clonePhoenixForTests
101101
cd ..
@@ -151,7 +151,7 @@ jobs:
151151

152152
- name: npm install ci deps
153153
env:
154-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
154+
GH_TOKEN: ${{ github.token }}
155155
run: npm ci
156156

157157
- name: Download phoenix and build build phoenix dist-test
@@ -165,7 +165,7 @@ jobs:
165165
166166
- name: build test runner
167167
env:
168-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
168+
GH_TOKEN: ${{ github.token }}
169169
run: |
170170
npm ci
171171
npm run releaseDistTestDebug

.github/workflows/tauri-build-dev.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
node-version: 20
5555
- name: install frontend dependencies
5656
env:
57-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
GH_TOKEN: ${{ github.token }}
5858
run: |
5959
npm ci
6060
npm run _ci-cloneAndBuildPhoenix
@@ -102,7 +102,7 @@ jobs:
102102
uses: dtolnay/rust-toolchain@stable
103103
- name: install frontend dependencies
104104
env:
105-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105+
GH_TOKEN: ${{ github.token }}
106106
run: |
107107
npm ci
108108
npm run _ci-release:dev
@@ -213,7 +213,7 @@ jobs:
213213

214214
- uses: tauri-apps/tauri-action@v0
215215
env:
216-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
216+
GITHUB_TOKEN: ${{ github.token }}
217217
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
218218
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
219219
ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
@@ -238,7 +238,7 @@ jobs:
238238
239239
- name: setup env for mac arm (Mac only)
240240
env:
241-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
241+
GH_TOKEN: ${{ github.token }}
242242
if: matrix.platform == 'macos-12'
243243
run: |
244244
rustup target add aarch64-apple-darwin
@@ -247,7 +247,7 @@ jobs:
247247
if: matrix.platform == 'macos-12'
248248
uses: tauri-apps/tauri-action@v0
249249
env:
250-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
250+
GITHUB_TOKEN: ${{ github.token }}
251251
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
252252
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
253253
ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
@@ -297,7 +297,7 @@ jobs:
297297
sudo apt-get install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
298298
- name: install frontend dependencies
299299
env:
300-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
300+
GH_TOKEN: ${{ github.token }}
301301
run: |
302302
npm ci
303303
npm run _ci-release:dev
@@ -324,7 +324,7 @@ jobs:
324324
tag_name: ${{ env.GIT_TAG_NAME }}
325325
draft: true
326326
env:
327-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
327+
GITHUB_TOKEN: ${{ github.token }}
328328

329329
publish-release:
330330
permissions:

.github/workflows/tauri-build-prod.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
node-version: 20
5555
- name: install frontend dependencies
5656
env:
57-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
GH_TOKEN: ${{ github.token }}
5858
run: |
5959
npm ci
6060
npm run _ci-cloneAndBuildPhoenix
@@ -102,7 +102,7 @@ jobs:
102102
uses: dtolnay/rust-toolchain@stable
103103
- name: install frontend dependencies
104104
env:
105-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105+
GH_TOKEN: ${{ github.token }}
106106
run: |
107107
npm ci
108108
npm run _ci-release:prod
@@ -214,7 +214,7 @@ jobs:
214214

215215
- uses: tauri-apps/tauri-action@v0
216216
env:
217-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
217+
GITHUB_TOKEN: ${{ github.token }}
218218
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
219219
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
220220
ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
@@ -239,7 +239,7 @@ jobs:
239239
240240
- name: setup env for mac arm (Mac only)
241241
env:
242-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
242+
GH_TOKEN: ${{ github.token }}
243243
if: matrix.platform == 'macos-12'
244244
run: |
245245
rustup target add aarch64-apple-darwin
@@ -248,7 +248,7 @@ jobs:
248248
if: matrix.platform == 'macos-12'
249249
uses: tauri-apps/tauri-action@v0
250250
env:
251-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
251+
GITHUB_TOKEN: ${{ github.token }}
252252
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
253253
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
254254
ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
@@ -297,7 +297,7 @@ jobs:
297297
sudo apt-get install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
298298
- name: install frontend dependencies
299299
env:
300-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
300+
GH_TOKEN: ${{ github.token }}
301301
run: |
302302
npm ci
303303
npm run _ci-release:prod
@@ -326,7 +326,7 @@ jobs:
326326
tag_name: ${{ env.GIT_TAG_NAME }}
327327
draft: true
328328
env:
329-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
329+
GITHUB_TOKEN: ${{ github.token }}
330330

331331
publish-release:
332332
permissions:

.github/workflows/tauri-build-staging.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
node-version: 20
5555
- name: install frontend dependencies
5656
env:
57-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
GH_TOKEN: ${{ github.token }}
5858
run: |
5959
npm ci
6060
npm run _ci-cloneAndBuildPhoenix
@@ -211,7 +211,7 @@ jobs:
211211

212212
- uses: tauri-apps/tauri-action@v0
213213
env:
214-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
214+
GITHUB_TOKEN: ${{ github.token }}
215215
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
216216
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
217217
ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
@@ -236,7 +236,7 @@ jobs:
236236
237237
- name: setup env for mac arm (Mac only)
238238
env:
239-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
239+
GH_TOKEN: ${{ github.token }}
240240
if: matrix.platform == 'macos-12'
241241
run: |
242242
rustup target add aarch64-apple-darwin
@@ -245,7 +245,7 @@ jobs:
245245
if: matrix.platform == 'macos-12'
246246
uses: tauri-apps/tauri-action@v0
247247
env:
248-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
248+
GITHUB_TOKEN: ${{ github.token }}
249249
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
250250
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
251251
ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
@@ -294,7 +294,7 @@ jobs:
294294
sudo apt-get install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
295295
- name: install frontend dependencies
296296
env:
297-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
297+
GH_TOKEN: ${{ github.token }}
298298
run: |
299299
npm ci
300300
npm run _ci-release:staging
@@ -321,7 +321,7 @@ jobs:
321321
tag_name: ${{ env.GIT_TAG_NAME }}
322322
draft: true
323323
env:
324-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
324+
GITHUB_TOKEN: ${{ github.token }}
325325

326326
publish-release:
327327
permissions:

.github/workflows/update-phcode-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Update phcode and version
2626
env:
27-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
GH_TOKEN: ${{ github.token }}
2828
run: |
2929
npm ci
3030
npm run _ci-update-phcode-build ${{ github.event.client_payload.sha }}

0 commit comments

Comments
 (0)