File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 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}"
You can’t perform that action at this time.
0 commit comments