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 2a041f7 commit c9d7efc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,13 @@ jobs:
- name: Package Core
run: cd dotnet && dotnet pack -c ${PublishConfiguration:-Release} --include-source --include-symbols -p:SymbolPackageFormat=snupkg --output ../publish PopcornNetStandard/PopcornNetStandard.csproj


- name: Build WebApi
run: cd dotnet && dotnet build --ignore-failed-sources -c ${PublishConfiguration:-Release} PopcornNetStandard.WebApiCore/PopcornNetStandard.WebApiCore.csproj
- name: Package WebApi
run: cd dotnet && dotnet pack -c ${PublishConfiguration:-Release} --include-source --include-symbols -p:SymbolPackageFormat=snupkg --output ../publish PopcornNetStandard.WebApiCore/PopcornNetStandard.WebApiCore.csproj


# Publish
- name: Echo Key
env:
SKYWARDNUGETAPIKEY: ${{ secrets.SKYWARDNUGETAPIKEY }}
run: echo "$SKYWARDNUGETAPIKEY"
- name: Publish Packages
env:
SKYWARDNUGETAPIKEY: ${{ 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:
SKYWARDNUGETAPIKEY: ${{ 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 c9d7efc

Please sign in to comment.