diff --git a/.github/workflows/nuget-source-generator.yml b/.github/workflows/nuget-source-generator.yml index a8d4d25..ca5c6a4 100644 --- a/.github/workflows/nuget-source-generator.yml +++ b/.github/workflows/nuget-source-generator.yml @@ -21,10 +21,6 @@ jobs: - run: dotnet restore src/MinimalUtility.SourceGenerator/MinimalUtility.SourceGenerator.csproj - run: dotnet build src/MinimalUtility.SourceGenerator/MinimalUtility.SourceGenerator.csproj --configuration Release --no-restore - run: dotnet pack src/MinimalUtility.SourceGenerator/MinimalUtility.SourceGenerator.csproj --configuration Release -o src/MinimalUtility.SourceGenerator/artifacts/ - - uses: actions/upload-artifact@v4.6.0 - with: - name: artifacts - path: src/MinimalUtility.SourceGenerator/artifacts/*.nupkg - run: | dotnet nuget add source --username kochounoyume --password ${{ secrets.GH_PACKAGES_PAT }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/kochounoyume/index.json" - dotnet nuget push "*.nupkg" --api-key ${{ secrets.GH_PACKAGES_PAT }} --source "github" --skip-duplicate + dotnet nuget push "src/MinimalUtility.SourceGenerator/artifacts/*.nupkg" --api-key ${{ secrets.GH_PACKAGES_PAT }} --source "github" --skip-duplicate