File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed
Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check Update
2+ concurrency : check
3+
4+ on :
5+ workflow_dispatch :
6+ schedule :
7+ # Automatically run on every Sunday
8+ - cron : ' 0 0 * * 0'
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4.2.2
16+ with :
17+ token : ${{ secrets.WORKFLOW_SECRET }}
18+
19+ - name : Check for Update
20+ uses : saadmk11/github-actions-version-updater@v0.8.1
21+ with :
22+ token : ${{ secrets.WORKFLOW_SECRET }}
Original file line number Diff line number Diff line change 1+ name : Nuget Build
2+
3+ on :
4+ push :
5+ branches :
6+ - ' main'
7+ pull_request :
8+ branches :
9+ - ' main'
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v4.2.2
17+
18+ - name : setup dotnet
19+ uses : actions/setup-dotnet@v4.2.0
20+ with :
21+ dotnet-version : 8.0.x
22+
23+ - name : test
24+ run : |
25+ dotnet test --filter Category!=Dependencies
26+
27+ - name : pack
28+ run : |
29+ dotnet pack -c Release
30+
31+ - name : publish
32+ run : |
33+ dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.nuget }}
You can’t perform that action at this time.
0 commit comments