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 b7a1b25 commit 0c206bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nuget-source-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
dotnet-version: 8.0.x
- 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 --output ./nupkgs -o artifacts/
- 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: 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

0 comments on commit 0c206bd

Please sign in to comment.