diff --git a/.github/workflows/build_lima_and_fill_cache.yml b/.github/workflows/build_lima_and_fill_cache.yml index c23f5dde0f75..c9fcdb9df2ac 100644 --- a/.github/workflows/build_lima_and_fill_cache.yml +++ b/.github/workflows/build_lima_and_fill_cache.yml @@ -32,11 +32,6 @@ jobs: with: go-version: ${{ inputs.go-version }} runs-on: ${{ inputs.runs-on }} - - name: Install gcc for cross-compilation on Linux - if: runner.os == 'Linux' - run: | - sudo apt-get update - sudo apt-get install -y gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu - name: go test to filling cache run: go test ./... --run=nope shell: bash @@ -45,15 +40,15 @@ jobs: run: | case "${RUNNER_OS}" in Linux) - make artifacts-linux VERSION_TRIMMED="${RUNS_ON}" + make artifacts-linux-$(uname -m) VERSION_TRIMMED="${RUNS_ON}" artifact=lima-${RUNS_ON}-Linux-$(uname -m).tar.gz ;; macOS) - make artifacts-darwin VERSION_TRIMMED="${RUNS_ON}" + make artifacts-darwin-$(uname -m) VERSION_TRIMMED="${RUNS_ON}" artifact=lima-${RUNS_ON}-Darwin-$(uname -m).tar.gz ;; Windows) - make artifacts-windows VERSION_TRIMMED="${RUNS_ON}" + make artifacts-windows-$(uname -m) VERSION_TRIMMED="${RUNS_ON}" artifact=lima-${RUNS_ON}-Windows-x86_64.tar.gz ;; *)