summaryrefslogtreecommitdiff
path: root/.github/workflows/cross-build.yml
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2023-04-14 21:38:33 -0400
committerGitHub <noreply@github.com>2023-04-14 21:38:33 -0400
commit998c6e06a75030cccabcc08790bc32642791aff7 (patch)
tree930e3f074572a8fcfc78b9c2163ee8543cea6080 /.github/workflows/cross-build.yml
parent4636109ce17e6ba5f46e73b7b1f3ae82d076a625 (diff)
chore: Adjustments to CI caching (#5495)
Diffstat (limited to '.github/workflows/cross-build.yml')
-rw-r--r--.github/workflows/cross-build.yml19
1 files changed, 3 insertions, 16 deletions
diff --git a/.github/workflows/cross-build.yml b/.github/workflows/cross-build.yml
index a3f9a0d..48e9b18 100644
--- a/.github/workflows/cross-build.yml
+++ b/.github/workflows/cross-build.yml
@@ -27,6 +27,9 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
+ - name: Checkout code
+ uses: actions/checkout@v3
+
- name: Install Go
uses: actions/setup-go@v4
with:
@@ -43,22 +46,6 @@ jobs:
printf "\n\nSystem environment:\n\n"
env
- - name: Cache the build cache
- uses: actions/cache@v3
- with:
- # In order:
- # * Module download cache
- # * Build cache (Linux)
- path: |
- ~/go/pkg/mod
- ~/.cache/go-build
- key: cross-build-go${{ matrix.go }}-${{ matrix.goos }}-${{ hashFiles('**/go.sum') }}
- restore-keys: |
- cross-build-go${{ matrix.go }}-${{ matrix.goos }}
-
- - name: Checkout code into the Go module directory
- uses: actions/checkout@v3
-
- name: Run Build
env:
CGO_ENABLED: 0