Skip to content

Fixed using Memo producing the same result for every item #6

Fixed using Memo producing the same result for every item

Fixed using Memo producing the same result for every item #6

Workflow file for this run

name: Publish to NuGet
on:
workflow_dispatch:
push:
branches: [master]
jobs:
publish:
name: Build and Publish
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Package
run: dotnet pack Forged/Forged.csproj -c Release --no-build -o ./nupkg
- name: NuGet login
uses: NuGet/login@v1
id: login
with:
user: ${{ secrets.NUGET_USER }}
- name: Push to NuGet
run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{ steps.login.outputs.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate