Skip to content

Commit 266cc74

Browse files
committed
Publish build artifacts
1 parent e0ecf78 commit 266cc74

2 files changed

Lines changed: 38 additions & 5 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

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Deploy
22

3-
on:
4-
push:
5-
branches:
6-
- develop
7-
- main
3+
# on:
4+
# push:
5+
# branches:
6+
# - develop
7+
# - main
88

99
permissions:
1010
id-token: write # required for OIDC authentication with AWS

0 commit comments

Comments
 (0)