File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
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,15 +40,15 @@ jobs:
45
40
run : |
46
41
case "${RUNNER_OS}" in
47
42
Linux)
48
- make artifacts-linux VERSION_TRIMMED="${RUNS_ON}"
43
+ make artifacts-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 artifacts-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}"
51
+ make artifacts-windows-$(uname -m) VERSION_TRIMMED="${RUNS_ON}"
57
52
artifact=lima-${RUNS_ON}-Windows-x86_64.tar.gz
58
53
;;
59
54
*)
You can’t perform that action at this time.
0 commit comments