Skip to content

Commit

Permalink
fix(ci): add continue on error to thunderstore publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Computerdores committed Apr 14, 2024
1 parent cccb117 commit 627bc4d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,17 @@ jobs:

- name: Publish to Thunderstore
run: tcli publish --config-path thunderstore.toml --file build/*.zip
continue-on-error: true
env:
TCLI_AUTH_TOKEN: ${{ secrets.THUNDERSTORE_AUTH_TOKEN }}

- name: Upload artifact
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 for GitHub
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 -s https://nuget.pkg.github.com/Computerdores/index.json -k ${{secrets.GITHUB_TOKEN}}
run: dotnet nuget push AdvancedTerminalAPI/bin/*.nupkg -k ${{secrets.GITHUB_TOKEN}} -s "github"

0 comments on commit 627bc4d

Please sign in to comment.