File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Create Release
33on :
44 push :
55 tags :
6- - ' *'
6+ - ' v* *'
77
88jobs :
99 build :
@@ -17,17 +17,15 @@ jobs:
1717 uses : actions/setup-dotnet@v4
1818 with :
1919 dotnet-version : 8.0.x
20+ - name : Install zip
21+ uses : montudor/action-zip@v1
2022 - name : Restore dependencies
2123 run : dotnet restore
2224 - name : Publish win-x64
2325 run : dotnet publish --no-restore --configuration Release --runtime win-x64 --no-self-contained
24- - name : Test
25- run : dotnet test --no-build --verbosity normal
2626 - name : Copy license win-x64
2727 run : |
2828 cp LICENSE.txt SharpIppNextServer/bin/Release/net8.0/win-x64/publish/LICENSE.txt
29- - name : Install zip
30- uses : montudor/action-zip@v1
3129 - name : Pack win-x64
3230 run : zip -qq -r "../../../SharpIppNextServer-${{github.ref_name}}-win-x64.zip" *.*
3331 working-directory : SharpIppNextServer/bin/Release/net8.0/win-x64/publish/
4745 - name : Pack osx-x64
4846 run : zip -qq -r ../../../SharpIppNextServer-${{github.ref_name}}-osx-x64.zip *.*
4947 working-directory : SharpIppNextServer/bin/Release/net8.0/osx-x64/publish/
50- - name : Create Release
51- uses : ncipollo/release-action@v1
52- with :
53- artifacts : " SharpIppNextServer/bin/Release/*.zip"
54- bodyFile : " RELEASE.md"
48+ - name : Create GitHub Release
49+ env :
50+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51+ run : |
52+ tag=${{ github.ref_name }}
53+ gh release create "$tag" --generate-notes SharpIppNextServer/bin/Release/*.zip
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ IPP printer (web app) based on `SharpIppNext` library.
14143 . Add to ` NetPrinter ` app from Google Play Store
15154 . Add to IPP / CUPS printing for Chrome & Chromebooks extension from Chrome Web Store.
1616
17+ ## Requirements
18+
19+ ASP.NET Core 8.0 Runtime needs to be installed.
20+
1721## Integration testing
1822
19231 . Install package: ` sudo zypper install cups-client cups-backends `
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments