File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v4
16
16
- name : Setup .NET Core
17
- uses : actions/setup-dotnet@v1
17
+ uses : actions/setup-dotnet@v4
18
18
with :
19
19
dotnet-version : 9.0.300
20
20
- name : Restore tools
Original file line number Diff line number Diff line change @@ -11,19 +11,21 @@ jobs:
11
11
timeout-minutes : 10
12
12
steps :
13
13
- name : Checkout code
14
- uses : actions/checkout@v1
14
+ uses : actions/checkout@v4
15
15
16
16
- name : Setup .NET Core
17
- uses : actions/setup-dotnet@v1
17
+ uses : actions/setup-dotnet@v4
18
18
with :
19
- dotnet-version : 3.1.301
19
+ dotnet-version : 9.0.300
20
20
21
- - name : Setup dotnet manifest
22
- run : dotnet new tool-manifest
23
- - name : Setup paket
24
- run : dotnet tool install Paket
25
- - name : Dotnet Pack
26
- run : dotnet pack -c release -p:PackageVersion=${GITHUB_REF##*/v}
21
+ - name : Restore tools
22
+ run : dotnet tool restore
23
+ - name : Install dependencies
24
+ run : dotnet paket restore
25
+ - name : Build
26
+ run : dotnet build --configuration Release
27
+ - name : Pack
28
+ run : dotnet pack -c Release -p:PackageVersion=${GITHUB_REF##*/v}
27
29
28
30
- name : Push Feliz.ViewEngine Nuget
29
31
run : dotnet nuget push src/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments