File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11name : Deploy
22
3- on :
4- push :
5- branches :
6- - develop
7- - main
3+ # on:
4+ # push:
5+ # branches:
6+ # - develop
7+ # - main
88
99permissions :
1010 id-token : write # required for OIDC authentication with AWS
You can’t perform that action at this time.
0 commit comments