We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f4a0b4 + 6f1e571 commit 7c06b0fCopy full SHA for 7c06b0f
1 file changed
.github/workflows/build-and-publish-inferpage.yml
@@ -0,0 +1,33 @@
1
+name: Build and Publish MaIN.InferPage
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ "main" ]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v4
14
15
+ - name: Setup .NET
16
+ uses: actions/setup-dotnet@v4
17
+ with:
18
+ dotnet-version: '8.0.x'
19
20
+ - name: Restore dependencies
21
+ run: dotnet restore src/MaIN.InferPage
22
23
+ - name: Build project
24
+ run: dotnet build src/MaIN.InferPage --configuration Release --no-restore
25
26
+ - name: Publish project
27
+ run: dotnet publish src/MaIN.InferPage --configuration Release --output ./publish --no-build
28
29
+ - name: Upload build artifacts
30
+ uses: actions/upload-artifact@v4
31
32
+ name: main-inferpage-build
33
+ path: ./publish/
0 commit comments