File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Build Portable Windows x64
2+
3+ on :
4+ push :
5+ branches : [ main, master ]
6+ pull_request :
7+ branches : [ main, master ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build-portable :
12+ name : Build Portable Windows 11 x64
13+ runs-on : windows-latest
14+
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+ with :
19+ submodules : recursive
20+
21+ - name : Setup .NET SDK
22+ uses : actions/setup-dotnet@v4
23+ with :
24+ dotnet-version : ' 9.0.x'
25+
26+ - name : Restore dependencies
27+ run : dotnet restore SecureFolderFS.Public.slnx
28+
29+ - name : Publish Portable x64
30+ run : |
31+ dotnet publish src/Platforms/SecureFolderFS.Uno/SecureFolderFS.Uno.csproj `
32+ -c Release `
33+ -f net9.0-windows10.0.26100.0 `
34+ -r win-x64 `
35+ --self-contained true `
36+ -p:PublishSingleFile=true `
37+ -p:IncludeAllContentForSelfExtract=true `
38+ -p:EnableCompressionInSingleFile=true `
39+ -p:DebugType=None `
40+ -p:PublishTrimmed=false `
41+ --output ./publish/SecureFolderFS-Portable-x64
42+
43+ - name : Upload Portable Artifact
44+ uses : actions/upload-artifact@v4
45+ with :
46+ name : SecureFolderFS-Portable-Windows-x64
47+ path : ./publish/SecureFolderFS-Portable-x64
48+ if-no-files-found : error
49+ retention-days : 14
You can’t perform that action at this time.
0 commit comments