File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v3
2020 - name : Setup .NET SDK
21- uses : actions/setup-dotnet@v3
21+ uses : actions/setup-dotnet@v1
2222 with :
2323 dotnet-version : 7.0.x
2424 source-url : https://nuget.pkg.github.com/graphql-dotnet/index.json
2929 - name : Build solution [Release]
3030 run : dotnet build --no-restore -c Release -p:VersionSuffix=$GITHUB_RUN_NUMBER
3131 - name : Pack solution [Release]
32- run : dotnet pack --no-restore --no-build -c Release -p:VersionSuffix=$GITHUB_RUN_NUMBER -p:PackageOutputPath=../../out
33- # See: https://github.com/dotnet/sdk/issues/30624#issuecomment-1432118204
32+ run : dotnet pack --no-restore --no-build -c Release -p:VersionSuffix=$GITHUB_RUN_NUMBER -o out
3433 - name : Upload artifacts
3534 uses : actions/upload-artifact@v3
3635 with :
Original file line number Diff line number Diff line change 2525 - name : Checkout source
2626 uses : actions/checkout@v3
2727 - name : Setup .NET SDK
28- uses : actions/setup-dotnet@v3
28+ uses : actions/setup-dotnet@v1
2929 with :
3030 dotnet-version : 7.0.x
3131 source-url : https://nuget.pkg.github.com/graphql-dotnet/index.json
Original file line number Diff line number Diff line change 2828 echo version=$version
2929 echo "version=$version" >> $GITHUB_ENV
3030 - name : Setup .NET SDK
31- uses : actions/setup-dotnet@v3
31+ uses : actions/setup-dotnet@v1
3232 with :
3333 dotnet-version : 7.0.x
3434 source-url : https://api.nuget.org/v3/index.json
3939 - name : Build solution [Release]
4040 run : dotnet build --no-restore -c Release -p:Version=$version
4141 - name : Pack solution [Release]
42- run : dotnet pack --no-restore --no-build -c Release -p:Version=$version -p:PackageOutputPath=../../out
43- # See: https://github.com/dotnet/sdk/issues/30624#issuecomment-1432118204
42+ run : dotnet pack --no-restore --no-build -c Release -p:Version=$version -o out
4443 - name : Upload Nuget packages as workflow artifacts
4544 uses : actions/upload-artifact@v3
4645 with :
Original file line number Diff line number Diff line change 4141 - name : Checkout source
4242 uses : actions/checkout@v3
4343 - name : Setup .NET SDK
44- uses : actions/setup-dotnet@v3
44+ uses : actions/setup-dotnet@v1
4545 with :
4646 dotnet-version : |
4747 2.1.x
You can’t perform that action at this time.
0 commit comments