File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 32
32
with :
33
33
go-version : ${{ inputs.go-version }}
34
34
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
40
35
- name : go test to filling cache
41
36
run : go test ./... --run=nope
42
37
shell : bash
@@ -45,16 +40,16 @@ jobs:
45
40
run : |
46
41
case "${RUNNER_OS}" in
47
42
Linux)
48
- make artifacts -linux VERSION_TRIMMED="${RUNS_ON}"
43
+ make artifact -linux-$(uname -m) VERSION_TRIMMED="${RUNS_ON}"
49
44
artifact=lima-${RUNS_ON}-Linux-$(uname -m).tar.gz
50
45
;;
51
46
macOS)
52
- make artifacts -darwin VERSION_TRIMMED="${RUNS_ON}"
47
+ make artifact -darwin-$(uname -m) VERSION_TRIMMED="${RUNS_ON}"
53
48
artifact=lima-${RUNS_ON}-Darwin-$(uname -m).tar.gz
54
49
;;
55
50
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
58
53
;;
59
54
*)
60
55
echo "Unsupported OS: ${RUNNER_OS}"
You can’t perform that action at this time.
0 commit comments