File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - ' *' # Trigger on push events for all branches
7+ pull_request :
8+ branches :
9+ - ' *' # Trigger on pull request events for all branches
10+ workflow_dispatch : # Trigger for manual runs
11+
12+ jobs :
13+ build-and-test :
14+ runs-on : windows-latest
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v2
19+
20+ - name : Setup .NET
21+ uses : actions/setup-dotnet@v1
22+ with :
23+ dotnet-version : ' 7.x'
24+
25+ - name : Restore dependencies
26+ run : dotnet restore ./Flow.Launcher.Plugin.AppUpgrader.csproj
27+
28+ - name : Publish project without self-contained
29+ run : dotnet publish -c Release -r win-x64 --no-self-contained ./Flow.Launcher.Plugin.AppUpgrader.csproj
30+
31+ # Attach the zip file to the pull request
32+ - name : Upload DLL zip artifact
33+ uses : actions/upload-artifact@v2
34+ with :
35+ name : Flow.Launcher.Plugin.AppUpgrader.dll
36+ path : " ./bin/Release/win-x64/publish/Flow.Launcher.Plugin.AppUpgrader.dll"
37+
You can’t perform that action at this time.
0 commit comments