Skip to content

Commit

Permalink
fix: ci/cd pipeline should work now
Browse files Browse the repository at this point in the history
  • Loading branch information
Computerdores committed Apr 14, 2024
1 parent 53f5512 commit fa8d3ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/actions/init/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,3 @@ runs:
shell: bash
# https://github.com/thunderstore-io/thunderstore-cli
run: dotnet tool install -g tcli

- name: Add NuGet Package Source GitHub
shell: bash
run: dotnet nuget add source --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ jobs:
run: gh release upload ${{ needs.release.outputs.tag_name }} build/*.zip AdvancedTerminalAPI/bin/*.nupkg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Add NuGet Package Source GitHub
shell: bash
run: dotnet nuget add source --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"

- name: Publish to GitHub Packages
run: dotnet nuget push AdvancedTerminalAPI/bin/*.nupkg --source "github"

0 comments on commit fa8d3ec

Please sign in to comment.