From f5bdfafc498fb325c1e7e538cebfdf65b8283112 Mon Sep 17 00:00:00 2001 From: jtn70 Date: Tue, 6 Jul 2021 10:12:40 +0200 Subject: [PATCH] EC --- .github/workflows/package.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 49e7541..7a949ac 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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"