Skip to content

Commit

Permalink
EC
Browse files Browse the repository at this point in the history
  • Loading branch information
jtn70 committed Jul 6, 2021
1 parent 0bcf1f7 commit f5bdfaf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
with:
dotnet-version: "5.0.x"
source-url: https://nuget.pkg.github.com/Sarpsborg-kommune/index.json
#env:
# NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
env:
NUGET_AUTH_TOKEN: ${{secrets.JTN70_TOKEN}}
- run: dotnet build --configuration Release
- name: Create the package
run: dotnet pack --configuration Release
- name: Store github token
run: dotnet nuget add source --username jtn70 --password ${{ secrets.JTN70_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Sarpsborg-kommune/index.json"
- name: Publish the package to GPR
#- name: Store github token
# run: dotnet nuget add source --username jtn70 --password ${{ secrets.JTN70_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Sarpsborg-kommune/index.json"
- name: Publish the package to github
run: dotnet nuget push PowershellWebService/bin/Release/*.nupkg --source "github"

0 comments on commit f5bdfaf

Please sign in to comment.