Skip to content

Commit 5dd714f

Browse files
committed
build_lima_and_fill_cache.yml: use architecture variation of artifacts target on make
Signed-off-by: Norio Nomura <[email protected]>
1 parent 8671656 commit 5dd714f

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/build_lima_and_fill_cache.yml

+4-9
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ jobs:
3232
with:
3333
go-version: ${{ inputs.go-version }}
3434
runs-on: ${{ inputs.runs-on }}
35-
- name: Install gcc for cross-compilation on Linux
36-
if: runner.os == 'Linux'
37-
run: |
38-
sudo apt-get update
39-
sudo apt-get install -y gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu
4035
- name: go test to filling cache
4136
run: go test ./... --run=nope
4237
shell: bash
@@ -45,16 +40,16 @@ jobs:
4540
run: |
4641
case "${RUNNER_OS}" in
4742
Linux)
48-
make artifacts-linux VERSION_TRIMMED="${RUNS_ON}"
43+
make artifact-linux-$(uname -m) VERSION_TRIMMED="${RUNS_ON}"
4944
artifact=lima-${RUNS_ON}-Linux-$(uname -m).tar.gz
5045
;;
5146
macOS)
52-
make artifacts-darwin VERSION_TRIMMED="${RUNS_ON}"
47+
make artifact-darwin-$(uname -m) VERSION_TRIMMED="${RUNS_ON}"
5348
artifact=lima-${RUNS_ON}-Darwin-$(uname -m).tar.gz
5449
;;
5550
Windows)
56-
make artifacts-windows VERSION_TRIMMED="${RUNS_ON}"
57-
artifact=lima-${RUNS_ON}-Windows-x86_64.tar.gz
51+
make artifact-windows-$(uname -m) VERSION_TRIMMED="${RUNS_ON}"
52+
artifact=lima-${RUNS_ON}-Windows-$(uname -m).tar.gz
5853
;;
5954
*)
6055
echo "Unsupported OS: ${RUNNER_OS}"

0 commit comments

Comments
 (0)