Skip to content

Commit 8747e2f

Browse files
authored
ci: verify_binaries_pre_codesigned part 2 (flutter#190078)
macos runners don't let you touch /opt! fixes: flutter#189995
1 parent 5bb20d2 commit 8747e2f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/actions/composite-flutter-setup/action.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ runs:
140140
- name: Setup PUB_CACHE environment variable
141141
shell: bash
142142
run: |
143-
echo "PUB_CACHE=/opt/pub-cache" >> $GITHUB_ENV
143+
mkdir -p "$RUNNER_TEMP/pub-cache"
144+
echo "PUB_CACHE=$RUNNER_TEMP/pub-cache" >> "$GITHUB_ENV"
144145
145146
# Get the Flutter revision. This is the key for the cache for artifacts
146147
# under bin/cache
@@ -169,7 +170,7 @@ runs:
169170
id: pub-cache
170171
with:
171172
path: |
172-
/opt/pub-cache
173+
${{ runner.temp }}/pub-cache
173174
${{ github.workspace }}/**/.dart_tool
174175
${{ github.workspace }}/**/pubspec.lock
175176
key: ${{ runner.os }}-pub-${{ steps.pub-deps-hash.outputs.revision }}

‎.github/workflows/mac-verify-binaries.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [master]
66
merge_group:
77
branches: [master]
8+
workflow_dispatch:
89

910
jobs:
1011
check-engine-changes:

0 commit comments

Comments
 (0)