Skip to content

Commit 647c86c

Browse files
authored
make the publish workflow use the same SDK as build workflows (#88)
1 parent 63e1cbf commit 647c86c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish-package.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
- name: Get full repo history
1313
uses: actions/checkout@v3
1414
with:
15-
ref: ${{ github.event.push.sha }}
1615
# 0 here means 'all history'.
1716
# we need at least the current 'height' in order for Nerdbank to work
1817
fetch-depth: 0
@@ -21,7 +20,7 @@ jobs:
2120
with:
2221
dotnet-version: |
2322
6.0.x
24-
7.0.100-preview.6.22352.1
23+
global-json-file: 'global.json' # in addition to the 6.0 we need for tests, install "latest"
2524
- name: Release
2625
run: dotnet build --configuration release
2726
- name: Publish

0 commit comments

Comments
 (0)