Skip to content

Commit

Permalink
feat: using environmental variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zhifenglee-aelf authored Jun 7, 2024
1 parent a0bade8 commit 1214dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-templates-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: templates
environment: staging
environment: staging
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -31,4 +31,4 @@ jobs:
- name: Publish NuGet packages
working-directory: ${{ env.WORKING_DIRECTORY }}
run: |
dotnet nuget push "nupkgs/*.nupkg" --api-key ${{ secrets.TEST_NUGET_API_KEY }} --source https://apiint.nugettest.org/v3/index.json
dotnet nuget push "nupkgs/*.nupkg" --api-key ${{ secrets.TEST_NUGET_API_KEY }} --source $TEST_NUGET_SOURCE_URL

0 comments on commit 1214dfa

Please sign in to comment.