Skip to content

Commit 12cc48e

Browse files
authored
Update release.yaml
1 parent 60a3a36 commit 12cc48e

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/release.yaml

+4-14
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,11 @@ jobs:
1919
name: Build and publish
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- name: Checkout
23+
uses: actions/checkout@v4
2324

24-
- name: Echo Go Cache Paths
25-
id: go-cache-paths
26-
run: |
27-
echo "GOCACHE=$(go env GOCACHE)" >> ${{ runner.os == 'Windows' && '$env:' || '$' }}GITHUB_OUTPUT
28-
echo "GOMODCACHE=$(go env GOMODCACHE)" >> ${{ runner.os == 'Windows' && '$env:' || '$' }}GITHUB_OUTPUT
29-
30-
- name: Go Build Cache
31-
uses: actions/cache@v3
32-
with:
33-
path: ${{ steps.go-cache-paths.outputs.GOCACHE }}
34-
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.**', '**.go') }}
35-
36-
- uses: actions/setup-go@v5
25+
- name: Setup go
26+
uses: actions/setup-go@v5
3727
with:
3828
go-version: "~1.22"
3929

0 commit comments

Comments
 (0)