Update GetPhoneNumber.cs #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish to myget | |
on: | |
push: | |
branches: | |
- master # Default release branch | |
jobs: | |
publish: | |
name: build, pack & publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.100 | |
# Publish | |
- name: publish on version change | |
run: dotnet restore | |
- name: Pack | |
run: dotnet pack --configuration Release --no-restore --output nupkgs | |
- name: Push | |
working-directory: nupkgs | |
run: dotnet nuget push "*.nupkg" -s https://www.myget.org/F/toocliancode/api/v2/package -k ${{ secrets.MYGET_API_KEY }} |