File tree Expand file tree Collapse file tree 6 files changed +19
-146
lines changed Expand file tree Collapse file tree 6 files changed +19
-146
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[
2+ " 10.x" ,
23 " 8.x"
3- ]
4+ ]
Original file line number Diff line number Diff line change @@ -61,14 +61,17 @@ jobs:
6161 - name : 🤘 checkout
6262 uses : actions/checkout@v4
6363
64+ - name : ⚙ dotnet
65+ uses : devlooped/actions-dotnet-env@v1
66+
6467 - name : 🙏 build
6568 run : dotnet build -m:1 -bl:build.binlog
6669
6770 - name : ⚙ azurite
6871 run : |
6972 npm install azurite
7073 npx azurite &
71-
74+
7275 - name : 🧪 test
7376 run : |
7477 dotnet tool update -g dotnet-retest
@@ -100,6 +103,9 @@ jobs:
100103 - name : 🤘 checkout
101104 uses : actions/checkout@v4
102105
106+ - name : ⚙ dotnet
107+ uses : devlooped/actions-dotnet-env@v1
108+
103109 - name : ✓ ensure format
104110 run : |
105111 dotnet format whitespace --verify-no-changes -v:diag --exclude ~/.nuget
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1515 VersionLabel : ${{ github.ref }}
1616 GH_TOKEN : ${{ secrets.GH_TOKEN }}
1717 MSBUILDTERMINALLOGGER : auto
18+ SLEET_FEED_URL : https://api.nuget.org/v3/index.json
1819
1920jobs :
2021 publish :
21- runs-on : ubuntu-latest
22+ runs-on : ${{ vars.PUBLISH_AGENT || ' ubuntu-latest' }}
2223 steps :
2324 - name : 🤘 checkout
2425 uses : actions/checkout@v4
2526
27+ - name : ⚙ dotnet
28+ uses : devlooped/actions-dotnet-env@v1
29+
2630 - name : 🙏 build
2731 run : dotnet build -m:1 -bl:build.binlog
2832
4650 - name : 🚀 nuget
4751 env :
4852 NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
49- if : env.NUGET_API_KEY != ''
50- run : dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
51-
52- - name : ⚙ dotnet
53- uses : actions/setup-dotnet@v4
54- with :
55- dotnet-version : 8.x
53+ if : ${{ env.NUGET_API_KEY != '' && github.event.action != 'prereleased' }}
54+ working-directory : bin
55+ run : dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
5656
5757 - name : 🚀 sleet
5858 env :
Original file line number Diff line number Diff line change 106106 weak
107107[file ".github/workflows/dotnet-file-core.yml"]
108108 url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file-core.yml
109- sha = af171b7a87382ee665ba6fbaeb5f38a3551e1c23
110- etag = 5ce370f52933ab2a4cd50f2b410e842fc5eab23088db2bf98b6c4d4ccdc9022b
111- weak
109+ skip
112110[file ".github/actions/dotnet/action.yml"]
113111 url = https://github.com/devlooped/oss/blob/main/.github/actions/dotnet/action.yml
114- sha = f2b690ce307acb76c5b8d7faec1a5b971a93653e
115- etag = 27ea11baa2397b3ec9e643a935832da97719c4e44215cfd135c49cad4c29373f
116- weak
112+ skip
117113[file ".github/workflows/dotnet-env.yml"]
118114 url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-env.yml
119115 sha = 77e83f238196d2723640abef0c7b6f43994f9747
You can’t perform that action at this time.
0 commit comments