From cb66ac999ce4f2411093c30066c27eacbddbee1c Mon Sep 17 00:00:00 2001 From: "Nicholas M.T. Elliott" Date: Wed, 22 May 2024 16:30:27 -0400 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0c7c3ce..4c04561 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest # steps to perform in job - steps: + steps: - name: Checkout code uses: actions/checkout@v2 @@ -41,8 +41,14 @@ jobs: # Publish - name: Echo Key + env: + SUPER_SECRET: ${{ secrets.SKYWARDNUGETAPIKEY }} run: echo $SKYWARDNUGETAPIKEY - name: Publish Packages + env: + SUPER_SECRET: ${{ secrets.SKYWARDNUGETAPIKEY }} run: cd publish && for fileName in *.nupkg; do echo ${fileName}; dotnet nuget push -k $SKYWARDNUGETAPIKEY -s https://api.nuget.org/v3/index.json ${fileName} || :; done - name: Public Source Mapping + env: + SUPER_SECRET: ${{ secrets.SKYWARDNUGETAPIKEY }} run: cd publish && for fileName in *.snupkg; do echo ${fileName}; dotnet nuget push -k $SKYWARDNUGETAPIKEY -s https://api.nuget.org/v3/index.json ${fileName} || :; done