Skip to content

Commit

Permalink
fix: fix workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinin committed Feb 18, 2024
1 parent 08d8876 commit c2b18cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- "**.csproj"

env:
DOTNET_VERSION: "8.0.100"
DOTNET_VERSION: "8.0.200"

jobs:
build:
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
branches: [ rel-8.0.3 ]

env:
DOTNET_VERSION: "8.0.100"
DOTNET_VERSION: "8.0.200"

jobs:
checkout:
publish:
name: "Checkout"
runs-on: "ubuntu-latest"
steps:
Expand All @@ -17,11 +17,6 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

pack:
name: "Pack"
runs-on: "ubuntu-latest"
steps:
- name: Install NuGet
uses: nuget/setup-nuget@v1
with:
Expand All @@ -30,11 +25,7 @@ jobs:
run: .\build-aspnetcore-publish-sln.ps1 -f
working-directory: .\build
shell: powershell

publish:
name: "Pack"
runs-on: "ubuntu-latest"
steps:
- name: Publish Package
run:
dotnet nuget push ./aspnet-core/Publish/nupkgs/LINGYUN.*.nupkg --api-key ${{ secrets.NUGETKEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 comments on commit c2b18cc

Please sign in to comment.