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