File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Release
22
33on :
44 release :
5- types : [ "created" ]
5+ types : [ "created", "edited" ]
66
77jobs :
88 build :
3131 tar -czf observer-${{ matrix.goarch }}-$TAG.tar.gz observer-${{ matrix.goarch }}
3232
3333 - name : Upload artifact
34- uses : actions/upload-artifact@v3
34+ uses : softprops/action-gh-release@v2
3535 with :
3636 name : observer-${{ matrix.goarch }}-${GITHUB_REF#refs/tags/}.tar.gz
3737 path : observer-${{ matrix.goarch }}-${GITHUB_REF#refs/tags/}.tar.gz
38-
39- release :
40- needs : build
41- runs-on : ubuntu-latest
42- steps :
43- - name : Download artifacts
44- uses : actions/download-artifact@v3
45- with :
46- path : .
47-
48- - name : Create GitHub Release
49- uses : softprops/action-gh-release@v2
50- if : github.ref_type == 'tag'
51- with :
52- files : |
53- observer-amd64-${GITHUB_REF#refs/tags/}.tar.gz
54- observer-arm64-${GITHUB_REF#refs/tags/}.tar.gz
55-
You can’t perform that action at this time.
0 commit comments