Merge pull request #1909 from wabbajack-tools/erri120-patch-1

Update workflow
This commit is contained in:
erri120 2022-04-10 16:04:26 +02:00 committed by GitHub
commit a5a11f23e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,10 +108,10 @@ jobs:
dotnet-version: '6.0.x'
include-prerelease: true
- name: Publish ${{ matrix.project}} NuGet
uses: brandedoutcast/publish-nuget@v2.5.5
with:
PROJECT_FILE_PATH: ${{ matrix.project }}/${{ matrix.project }}.csproj
VERSION_STATIC: ${{ env.VERSION }}
NUGET_KEY: ${{secrets.NUGET_KEY}}
- name: Build
run: dotnet build ${{ matrix.project }}/${{ matrix.project }}.csproj --no-restore --configuration Release
- name: Pack
run: dotnet pack ${{ matrix.project }}/${{ matrix.project }}.csproj --no-build --configuration Release --include-symbols -p:SymbolPackageFormat=snupkg -o .
- name: Publish
run: dotnet nuget push *.nupkg --api-key ${{secrets.NUGET_KEY}} --source "https://api.nuget.org/v3/index.json" --skip-duplicate