Skip to content

Commit 6f060e4

Browse files
authored
Revert to old version of setup-dotnet (#998)
1 parent 15c0b5a commit 6f060e4

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
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
@@ -29,8 +29,7 @@ jobs:
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:

.github/workflows/formatting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
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

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
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
@@ -39,8 +39,7 @@ jobs:
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:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
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

0 commit comments

Comments
 (0)