mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 11:11:23 +00:00
Fixed new publish pipeline
This commit is contained in:
17
.github/workflows/build-pipeline.yml
vendored
17
.github/workflows/build-pipeline.yml
vendored
@@ -54,8 +54,23 @@ jobs:
|
||||
runs-on: [self-hosted, linux, x64, womed-local-linux]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
|
||||
- name: Build
|
||||
run: dotnet build "MewtocolNet"
|
||||
|
||||
- name: Pack
|
||||
run: dotnet pack "MewtocolNet"
|
||||
|
||||
- name: Publish
|
||||
run: |
|
||||
cd "./Builds"
|
||||
cd '${{ github.workspace }}/Builds'
|
||||
dotnet nuget push "*.nupkg" --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} --source "https://nuget.pkg.github.com/WOmed/index.json"
|
||||
#dotnet nuget push "*.nupkg" --skip-duplicate --api-key ${{ secrets.NUGET_KEY }} --source "https://api.nuget.org"
|
||||
|
||||
Reference in New Issue
Block a user