Commit cdcb8b1 1 parent 6a704e8 commit cdcb8b1 Copy full SHA for cdcb8b1
File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build console app
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+
7
+ jobs :
8
+ build :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+
14
+ - uses : actions/checkout@v2
15
+
16
+ - name : Set up .NET
17
+ uses : actions/setup-dotnet@v1
18
+ with :
19
+ dotnet-version : 5.0.x
20
+
21
+ - name : Restore dependencies
22
+ run : dotnet restore
23
+
24
+ - name : Build
25
+ run : dotnet build --no-restore --configuration Release
26
+
27
+ - name : Publish
28
+ run : dotnet publish -c Release -r win-x86 -p:PublishSingleFile=true --self-contained false
29
+
30
+ - name : Upload a Build Artifact
31
+ uses : actions/upload-artifact@v2.2.4
32
+ with :
33
+ name : SymLinkMirror
34
+ path : bin/Release/net5.0/win-x86/publish/SymLinkMirror.exe
You can’t perform that action at this time.
0 commit comments