File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ workflow_dispatch :
4
+ push :
5
+ branches : [ master ]
6
+ jobs :
7
+ build :
8
+ name : Release
9
+ runs-on : windows-latest
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+ - name : Setup .NET SDK
13
+ uses : actions/setup-dotnet@v4
14
+ with :
15
+ dotnet-version : |
16
+ 6.0.x
17
+ 7.0.x
18
+ 8.0.x
19
+ 9.0.x
20
+ - name : Build
21
+ shell : pwsh
22
+ run : .\build.ps1 --stable=true
23
+ - name : Get Release Version
24
+ shell : pwsh
25
+ run : dotnet-exec https://github.com/OpenReservation/scripts/blob/main/build/export-gh-release-version.cs
26
+ - name : create release
27
+ shell : pwsh
28
+ env :
29
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
+ run : |
31
+ gh release create ${{ env.ReleaseVersion }} --generate-notes --target master (Get-Item ./artifacts/packages/*.nupkg)
You can’t perform that action at this time.
0 commit comments