File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 8181 name : osx
8282 path : |
8383 ./target/release/cele-mod
84+ release :
85+ needs : [build-windows, build-linux, build-osx]
86+ runs-on : ubuntu-latest
87+ if : github.event_name == 'push' && github.ref == 'refs/heads/master'
88+ steps :
89+ - uses : actions/checkout@v3
90+ - name : Get version
91+ run : echo "VERSION=$(cat version.txt)" >> $GITHUB_ENV
92+ - uses : actions/download-artifact@v4
93+ with :
94+ name : windows
95+ path : artifacts/windows/
96+ - uses : actions/download-artifact@v4
97+ with :
98+ name : linux
99+ path : artifacts/linux/
100+ - uses : actions/download-artifact@v4
101+ with :
102+ name : osx
103+ path : artifacts/osx/
104+ - name : Create Release
105+ uses : softprops/action-gh-release@v1
106+ with :
107+ tag_name : v${{ env.VERSION }}
108+ files : |
109+ artifacts/windows/*
110+ artifacts/linux/*
111+ artifacts/osx/*
112+ env :
113+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments