File tree 1 file changed +4
-14
lines changed
1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,11 @@ jobs:
19
19
name : Build and publish
20
20
runs-on : ubuntu-latest
21
21
steps :
22
- - uses : actions/checkout@v4
22
+ - name : Checkout
23
+ uses : actions/checkout@v4
23
24
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
37
27
with :
38
28
go-version : " ~1.22"
39
29
You can’t perform that action at this time.
0 commit comments