File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,10 +46,29 @@ jobs:
4646 -trimpath \
4747 ./cmd/filimo-plus-cli
4848
49- - name : Upload binaries
49+ - name : Upload artifact
50+ uses : actions/upload-artifact@v4
51+ with :
52+ name : dist-${{ matrix.os }}-${{ matrix.arch }}
53+ path : dist/*
54+
55+ release :
56+ name : Create Release
57+ needs : build
58+ runs-on : ubuntu-latest
59+
60+ steps :
61+ - name : Download all build artifacts
62+ uses : actions/download-artifact@v4
63+ with :
64+ path : dist
65+ merge-multiple : true
66+
67+ - name : Publish GitHub Release
5068 uses : softprops/action-gh-release@v2
5169 with :
52- files : |
53- dist/filimo-plus-cli-${{ env.TAG_NAME }}-${{ matrix.os }}-${{ matrix.arch }}${{ env.EXT }}
70+ name : ${{ github.ref_name }}
71+ tag_name : ${{ github.ref_name }}
72+ files : dist/*
5473 env :
5574 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments