File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 2222
2323 - run : dotnet build ${{ env.PROJECT_PATH }} -c Release --no-restore
2424
25- - run : dotnet publish ${{ env.PROJECT_PATH }} -c Release --self-contained -r win-x64 -p:PublishSingleFile=true
25+ - run : dotnet publish ${{ env.PROJECT_PATH }} -c Release --self-contained -r win-x64 -p:PublishSingleFile=true --no-build
26+
27+ - uses : actions/create-release@v1
28+ id : create_release
29+ env :
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31+ with :
32+ tag_name : ${{ github.ref }}
33+ release_name : ${{ github.ref }}
34+
35+ - uses : csexton/release-asset-actions@v2
36+ with :
37+ github-token : ${{ secrets.GITHUB_TOKEN }}
38+ pattern : ClassCommands/bin/Release/netcoreapp3.1/win-x64/publish/*.exe
39+ release-url : ${{ steps.create_release.outputs.upload_url }}
2640
You can’t perform that action at this time.
0 commit comments