Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasMTElliott authored May 22, 2024
1 parent 0dc2f51 commit cb66ac9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

# steps to perform in job
steps:
steps:
- name: Checkout code
uses: actions/checkout@v2

Expand All @@ -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

0 comments on commit cb66ac9

Please sign in to comment.