Skip to content

Commit 96b65b1

Browse files
committed
Fix workflow
1 parent f3a95f9 commit 96b65b1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ jobs:
2222
- name: Setup .NET
2323
uses: actions/setup-dotnet@v1
2424
with:
25-
dotnet-version: 6.0.x
25+
dotnet-version: 7.0.x
2626

2727
- name: Pack Solution
2828
run: dotnet pack -p:PackageOutputPath="${GITHUB_WORKSPACE}/packages" -p:IncludeSymbols=false -p:RepositoryCommit=${GITHUB_SHA} -p:PackageVersion="${{ github.event.inputs.version }}" -c Release
2929

3030
- name: Publish NuPkg Files
31-
if: ${{ github.events.inputs.publish }}
31+
if: ${{ github.event.inputs.publish }}
3232
run: dotnet nuget push "$GITHUB_WORKSPACE/*.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
3333

3434
- name: Create Tag and Release
35-
if: ${{ github.events.inputs.publish }}
35+
if: ${{ github.event.inputs.publish }}
3636
id: create_release
3737
uses: actions/create-release@v1
3838
env:

0 commit comments

Comments
 (0)