@@ -19,12 +19,12 @@ jobs:
19
19
build :
20
20
runs-on : ubuntu-latest
21
21
steps :
22
- - uses : actions/checkout@v2
22
+ - uses : actions/checkout@v4
23
23
with :
24
24
ref : ${{ github.ref }} # This checks out the commit that triggered the workflow run
25
25
26
26
- name : Setup .NET
27
- uses : actions/setup-dotnet@v1
27
+ uses : actions/setup-dotnet@v4
28
28
with :
29
29
dotnet-version : ' 8.0.x'
30
30
@@ -51,29 +51,29 @@ jobs:
51
51
run : Npgmq.Test/scripts/run-tests.sh 0.31.0
52
52
53
53
- name : Pack
54
- if : startsWith(github.ref, 'refs/tags/v')
54
+ # if: startsWith(github.ref, 'refs/tags/v')
55
55
run : dotnet pack Npgmq/Npgmq.csproj --no-build --configuration Release /p:PackageVersion=${{ env.VERSION }} /p:CopyrightYear=$(date +%Y) --output out
56
56
57
- - uses : actions/upload-artifact@v2
58
- if : startsWith(github.ref, 'refs/tags/v')
57
+ - uses : actions/upload-artifact@v4
58
+ # if: startsWith(github.ref, 'refs/tags/v')
59
59
with :
60
60
name : build-artifact
61
61
path : out
62
62
63
63
publish :
64
64
needs : build
65
- if : startsWith(github.ref, 'refs/tags/v')
65
+ # if: startsWith(github.ref, 'refs/tags/v')
66
66
runs-on : ubuntu-latest
67
67
steps :
68
- - uses : actions/download-artifact@v2
68
+ - uses : actions/download-artifact@v4
69
69
with :
70
70
name : build-artifact
71
71
path : out
72
72
73
73
- name : Setup .NET
74
- uses : actions/setup-dotnet@v1
74
+ uses : actions/setup-dotnet@v4
75
75
with :
76
76
dotnet-version : ' 8.0.x'
77
77
78
- - name : Push
79
- run : dotnet nuget push "out/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
78
+ # - name: Push
79
+ # run: dotnet nuget push "out/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
0 commit comments