Skip to content

Commit bd30c42

Browse files
authored
Merge pull request #61 from dnakov/wip/ci-release-runner-temp-fix-2026-03-28
[codex] fix release workflow runner temp env
2 parents 0a3d287 + be2c67a commit bd30c42

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/android-play-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ jobs:
9393
SCCACHE_S3_USE_SSL: "true"
9494
SCCACHE_S3_KEY_PREFIX: ci/android
9595
SCCACHE_LOG: info
96-
SCCACHE_ERROR_LOG: ${{ runner.temp }}/sccache-android.log
9796
AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_R2_ACCESS_KEY_ID }}
9897
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_R2_SECRET_ACCESS_KEY }}
9998

@@ -154,6 +153,7 @@ jobs:
154153

155154
- name: Prime sccache
156155
run: |
156+
export SCCACHE_ERROR_LOG="$RUNNER_TEMP/sccache-android.log"
157157
rm -f "$SCCACHE_ERROR_LOG"
158158
sccache --stop-server || true
159159
sccache --start-server
@@ -225,6 +225,7 @@ jobs:
225225
LITTER_VERSION_CODE_OVERRIDE: ${{ env.LITTER_VERSION_CODE_OVERRIDE }}
226226
run: |
227227
set -euo pipefail
228+
export SCCACHE_ERROR_LOG="$RUNNER_TEMP/sccache-android.log"
228229
trap 'status=$?; echo "==> sccache stats"; sccache --show-stats || true; if [ -f "$SCCACHE_ERROR_LOG" ]; then echo "==> sccache error log"; tail -200 "$SCCACHE_ERROR_LOG" || true; fi; exit $status' EXIT
229230
make play-release
230231

.github/workflows/ios-testflight.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
SCCACHE_S3_USE_SSL: "true"
3131
SCCACHE_S3_KEY_PREFIX: ci/ios
3232
SCCACHE_LOG: info
33-
SCCACHE_ERROR_LOG: ${{ runner.temp }}/sccache-ios.log
3433
AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_R2_ACCESS_KEY_ID }}
3534
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_R2_SECRET_ACCESS_KEY }}
3635

@@ -87,6 +86,7 @@ jobs:
8786

8887
- name: Prime sccache
8988
run: |
89+
export SCCACHE_ERROR_LOG="$RUNNER_TEMP/sccache-ios.log"
9090
rm -f "$SCCACHE_ERROR_LOG"
9191
sccache --stop-server || true
9292
sccache --start-server
@@ -177,5 +177,6 @@ jobs:
177177
WAIT_FOR_PROCESSING: ${{ env.WAIT_FOR_PROCESSING }}
178178
run: |
179179
set -euo pipefail
180+
export SCCACHE_ERROR_LOG="$RUNNER_TEMP/sccache-ios.log"
180181
trap 'status=$?; echo "==> sccache stats"; sccache --show-stats || true; if [ -f "$SCCACHE_ERROR_LOG" ]; then echo "==> sccache error log"; tail -200 "$SCCACHE_ERROR_LOG" || true; fi; exit $status' EXIT
181182
make testflight

.github/workflows/mobile-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ jobs:
199199
SCCACHE_S3_USE_SSL: "true"
200200
SCCACHE_S3_KEY_PREFIX: ci/android
201201
SCCACHE_LOG: info
202-
SCCACHE_ERROR_LOG: ${{ runner.temp }}/sccache-android.log
203202
AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_R2_ACCESS_KEY_ID }}
204203
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_R2_SECRET_ACCESS_KEY }}
205204

@@ -260,6 +259,7 @@ jobs:
260259

261260
- name: Prime sccache
262261
run: |
262+
export SCCACHE_ERROR_LOG="$RUNNER_TEMP/sccache-android.log"
263263
rm -f "$SCCACHE_ERROR_LOG"
264264
sccache --stop-server || true
265265
sccache --start-server
@@ -331,6 +331,7 @@ jobs:
331331
LITTER_VERSION_CODE_OVERRIDE: ${{ env.LITTER_VERSION_CODE_OVERRIDE }}
332332
run: |
333333
set -euo pipefail
334+
export SCCACHE_ERROR_LOG="$RUNNER_TEMP/sccache-android.log"
334335
trap 'status=$?; echo "==> sccache stats"; sccache --show-stats || true; if [ -f "$SCCACHE_ERROR_LOG" ]; then echo "==> sccache error log"; tail -200 "$SCCACHE_ERROR_LOG" || true; fi; exit $status' EXIT
335336
make play-release
336337
@@ -367,7 +368,6 @@ jobs:
367368
SCCACHE_S3_USE_SSL: "true"
368369
SCCACHE_S3_KEY_PREFIX: ci/ios
369370
SCCACHE_LOG: info
370-
SCCACHE_ERROR_LOG: ${{ runner.temp }}/sccache-ios.log
371371
AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_R2_ACCESS_KEY_ID }}
372372
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_R2_SECRET_ACCESS_KEY }}
373373

@@ -424,6 +424,7 @@ jobs:
424424

425425
- name: Prime sccache
426426
run: |
427+
export SCCACHE_ERROR_LOG="$RUNNER_TEMP/sccache-ios.log"
427428
rm -f "$SCCACHE_ERROR_LOG"
428429
sccache --stop-server || true
429430
sccache --start-server
@@ -521,5 +522,6 @@ jobs:
521522
WAIT_FOR_PROCESSING: ${{ env.WAIT_FOR_PROCESSING }}
522523
run: |
523524
set -euo pipefail
525+
export SCCACHE_ERROR_LOG="$RUNNER_TEMP/sccache-ios.log"
524526
trap 'status=$?; echo "==> sccache stats"; sccache --show-stats || true; if [ -f "$SCCACHE_ERROR_LOG" ]; then echo "==> sccache error log"; tail -200 "$SCCACHE_ERROR_LOG" || true; fi; exit $status' EXIT
525527
make testflight

0 commit comments

Comments
 (0)