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 8
8
build-snapshot :
9
9
permissions :
10
10
contents : read
11
- packages : write
12
11
runs-on : ubuntu-latest
13
- strategy :
14
- matrix :
15
- binary :
16
- - go-cli-github
17
- - another-binary
18
12
steps :
19
13
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20
14
with :
27
21
with :
28
22
version : latest
29
23
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
30
47
- name : Login to GHCR
31
48
if : github.actor != 'dependabot[bot]'
32
49
uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
You can’t perform that action at this time.
0 commit comments