Skip to content

Commit

Permalink
use per run token
Browse files Browse the repository at this point in the history
  • Loading branch information
daveboster committed Nov 25, 2023
1 parent c0328af commit af73bff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tasks-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ jobs:
- name: Prep packages
shell: pwsh
run: |
dotnet nuget add source --username ${{ github.repository_owner }} --password ${{ secrets.PACKAGE_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
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: Push package to GitHub packages
shell: pwsh
run: |
dotnet nuget push ./packaging/${{ steps.create-nuget-package.outputs.package_filename }} --api-key ${{ secrets.PACKAGE_TOKEN }} --source "github" --skip-duplicate
dotnet nuget push ./packaging/${{ steps.create-nuget-package.outputs.package_filename }} --api-key ${{ secrets.GITHUB_TOKEN }} --source "github" --skip-duplicate
# - name: Create a Zip package 🐙
Expand Down Expand Up @@ -192,12 +192,12 @@ jobs:
# - name: Prep packages
# shell: pwsh
# run: |
# dotnet nuget add source --username ${{ github.repository_owner }} --password ${{ secrets.PACKAGE_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
# 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: Push package to GitHub packages
# shell: pwsh
# run: |
# dotnet nuget push ./packaging/${{ needs.build.outputs.nuget_package_artifact }} --api-key ${{ secrets.PACKAGE_TOKEN }} --source "github"
# dotnet nuget push ./packaging/${{ needs.build.outputs.nuget_package_artifact }} --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"

# tests_e2e:
# uses: ./.github/workflows/tests-e2e-playwright.yml

0 comments on commit af73bff

Please sign in to comment.