File tree Expand file tree Collapse file tree 1 file changed +1
-26
lines changed Expand file tree Collapse file tree 1 file changed +1
-26
lines changed Original file line number Diff line number Diff line change 55
55
${{ env.ALIYUN_BJ_REG }}/${{ github.repository_owner }}/${{ matrix.target }}:${{ github.ref_name }}
56
56
${{ env.ALIYUN_HZ_REG }}/${{ github.repository_owner }}/${{ matrix.target }}:${{ github.ref_name }}
57
57
cache-from : type=gha,scope=build-${{ matrix.target }}
58
- cache-to : type=gha,mode=max,scope=build-${{ matrix.target }}
59
- goreleaser :
60
- runs-on : ubuntu-latest
61
- env :
62
- ALIYUN_BJ_REG : registry.cn-beijing.aliyuncs.com
63
- ALIYUN_HZ_REG : registry.cn-hangzhou.aliyuncs.com
64
- steps :
65
- - name : Checkout
66
- uses : actions/checkout@v4
67
- with :
68
- fetch-depth : 0
69
- - name : Fetch all tags
70
- run : git fetch --force --tags
71
- - name : Set up Go
72
- uses : actions/setup-go@v4
73
- with :
74
- cache : false
75
- go-version-file : go.mod
76
- - name : Run GoReleaser
77
- uses : goreleaser/goreleaser-action@v5
78
- with :
79
- distribution : goreleaser
80
- version : latest
81
- args : release --rm-dist
82
- env :
83
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
+ cache-to : type=gha,mode=max,scope=build-${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments