File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed
Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -38,31 +38,16 @@ jobs:
3838 with :
3939 dotnet-version : ' 8.0.x'
4040
41- - name : Install vpk
42- run : dotnet tool install -g vpk
43-
4441 - name : Generate version number
4542 id : version
4643 run : |
4744 $version = "1.0.${{ github.run_number }}"
4845 echo "VERSION=$version" >> $env:GITHUB_OUTPUT
4946 echo "Version: $version"
5047
51- - name : Package with Velopack
48+ - name : Create Velopack Release
5249 run : |
50+ dotnet tool install -g vpk
51+ vpk download github --repoUrl https://github.com/${{ github.repository }} --token ${{ secrets.GITHUB_TOKEN }}
5352 vpk pack --packId ChiselPDF --packVersion ${{ steps.version.outputs.VERSION }} --packDir .\dist --mainExe ChiselPDF.exe
54-
55- - name : Create Release and Upload Assets
56- uses : softprops/action-gh-release@v1
57- with :
58- tag_name : v${{ steps.version.outputs.VERSION }}
59- name : Release v${{ steps.version.outputs.VERSION }}
60- draft : false
61- prerelease : false
62- files : |
63- Releases/*-Setup.exe
64- Releases/*-Portable.zip
65- Releases/RELEASES
66- Releases/*.nupkg
67- Releases/releases.win.json
68- Releases/assets.win.json
53+ vpk upload github --repoUrl https://github.com/${{ github.repository }} --publish --releaseName "ChiselPDF ${{ steps.version.outputs.VERSION }}" --tag v${{ steps.version.outputs.VERSION }} --token ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments