Skip to content

Commit f6aa9cc

Browse files
committed
Publish build artifacts
1 parent e0ecf78 commit f6aa9cc

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build Artifacts
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- main
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v5
16+
17+
- name: Setup .NET
18+
uses: actions/setup-dotnet@v5
19+
with:
20+
dotnet-version: 10.0.x
21+
22+
- name: Restore
23+
run: dotnet restore
24+
25+
- name: Publish
26+
run: dotnet publish -c Release --artifacts-path ./output
27+
28+
- name: Upload build artifacts
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: build-outputs
32+
path: ./output/publish
33+
if-no-files-found: error

0 commit comments

Comments
 (0)