Skip to content

Commit 20f684b

Browse files
committed
Fix gh cli on ubuntu-22.04-arm
1 parent 507b350 commit 20f684b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
fail-fast: false
3838
matrix: ${{ fromJSON(needs.prepare.outputs.matrix) }}
3939
steps:
40+
- if: matrix.runs_on == 'ubuntu-22.04-arm' # TODO: undo; see https://github.com/orgs/community/discussions/148648#discussioncomment-11858098
41+
run: for var in HOME PATH XDG_CONFIG_HOME; do sed -Ee "s/^/${var}=/" -e 's/(runner)admin/\1/g' <<< "${!var}"; done | tee -a "$GITHUB_ENV"
4042
- run: git config --global core.autocrlf false
4143
- uses: actions/checkout@v4
4244
- if: matrix.force_msys2_bash == 'yes'

0 commit comments

Comments
 (0)