mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 02:12:18 +00:00
release_yml Use new dotnet version
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -52,7 +52,7 @@ jobs:
|
|||||||
|
|
||||||
publish-nuget:
|
publish-nuget:
|
||||||
name: Publish NuGet
|
name: Publish NuGet
|
||||||
runs-on: windows-2019
|
runs-on: windows-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./net/flatbuffers
|
working-directory: ./net/flatbuffers
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-dotnet@v3
|
- uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '3.1.x'
|
dotnet-version: '6.0.x'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
@@ -72,6 +72,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload to NuGet
|
- name: Upload to NuGet
|
||||||
run: |
|
run: |
|
||||||
dotnet nuget push "*/bin/Release/*.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
|
dotnet nuget push .\bin\Release\Google.FlatBuffers.*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user