File tree Expand file tree Collapse file tree 1 file changed +23
-6
lines changed Expand file tree Collapse file tree 1 file changed +23
-6
lines changed Original file line number Diff line number Diff line change 88 build-snapshot :
99 permissions :
1010 contents : read
11- packages : write
1211 runs-on : ubuntu-latest
13- strategy :
14- matrix :
15- binary :
16- - go-cli-github
17- - another-binary
1812 steps :
1913 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2014 with :
2721 with :
2822 version : latest
2923 args : build --clean --verbose --single-target --snapshot
24+ - name : tar up binaries
25+ run : tar -cvf dist.tar dist
26+ - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
27+ with :
28+ path : dist.tar
29+ build-image :
30+ permissions :
31+ contents : read
32+ packages : write
33+ runs-on : ubuntu-latest
34+ needs : build-snapshot
35+ strategy :
36+ matrix :
37+ binary :
38+ - go-cli-github
39+ - another-binary
40+ steps :
41+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
42+ with :
43+ ref : ${{ github.event.pull_request.head.sha }}
44+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
45+ - name : untar binaries
46+ run : tar -xvf artifact/dist.tar
3047 - name : Login to GHCR
3148 if : github.actor != 'dependabot[bot]'
3249 uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
You can’t perform that action at this time.
0 commit comments