Skip to content

Commit

Permalink
Update nuget-source-generator.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kochounoyume authored Jan 23, 2025
1 parent 0c206bd commit a278cbc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/nuget-source-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a278cbc

Please sign in to comment.