File tree Expand file tree Collapse file tree 2 files changed +3
-26
lines changed
Expand file tree Collapse file tree 2 files changed +3
-26
lines changed Original file line number Diff line number Diff line change 1010
1111permissions :
1212 contents : write
13- actions : write
1413
1514jobs :
1615 tag :
2019 - uses : actions/checkout@v4
2120 with :
2221 fetch-depth : 0
22+ token : ${{ secrets.GH_TOKEN }}
2323
2424 - name : Determine version
2525 id : version
4646 run : |
4747 git tag ${{ steps.version.outputs.tag }}
4848 git push origin ${{ steps.version.outputs.tag }}
49-
50- - name : Trigger release workflow
51- run : gh workflow run release.yml -f tag=${{ steps.version.outputs.tag }}
52- env :
53- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 4848 - name : Restore tools
4949 run : dotnet tool restore
5050
51- - name : Publish
51+ - name : Test + Build + Pack
5252 shell : pwsh
53- run : |
54- dotnet publish src/LiveLingo.App/LiveLingo.App.csproj `
55- -c Release `
56- -r win-x64 `
57- --self-contained `
58- -o publish/win-x64 `
59- --nologo
60-
61- - name : Pack (Velopack)
62- shell : pwsh
63- env :
64- DOTNET_ROLL_FORWARD : LatestMajor
65- run : |
66- dotnet vpk pack `
67- --packId LiveLingo `
68- --packVersion ${{ steps.meta.outputs.version }} `
69- --packDir publish/win-x64 `
70- --mainExe LiveLingo.App.exe `
71- --outputDir releases
53+ run : ./build.ps1 Pack --Version ${{ steps.meta.outputs.version }}
7254
7355 - name : Create GitHub Release
7456 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments