Bump Microsoft.IdentityModel.JsonWebTokens from 8.1.2 to 8.2.0 in the… #185
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: Nightly MyGet Package Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: 'true' | |
steps: | |
- name: Setup .Net | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
8.0.x | |
- uses: actions/checkout@v4 | |
- name: Fetch all history for all tags and branches | |
run: git fetch --prune --unshallow | |
- name: Tool restore | |
run: dotnet tool restore | |
- name: Restore | |
run: dotnet restore --nologo | |
- uses: ./.github/actions/version | |
id: version | |
- name: Build with .Net | |
run: dotnet build --configuration Release --no-restore --nologo "-p:Version=${{ steps.version.outputs.enhancedVersion }}" | |
- name: Pack with .Net | |
run: | | |
dotnet pack --nologo --no-build --configuration Release --output nuget-packages -p:PackageVersion=${{ steps.version.outputs.enhancedVersion }} src/Apple.AppStoreConnect/Apple.AppStoreConnect.csproj | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Nuget-packages-${{ steps.version.outputs.enhancedVersion }} | |
path: nuget-packages | |
- name: Push package to Myget | |
if: ${{ vars.USE_MYGET == 'true' }} | |
run: dotnet nuget push 'nuget-packages/*.nupkg' --api-key ${{ secrets.MYGET_API_KEY }} --source https://www.myget.org/F/apple-app-store-connect/api/v3/index.json | |
- name: Push package to Feedz | |
if: ${{ vars.USE_FEEDZ == 'true' }} | |
run: dotnet nuget push 'nuget-packages/*.nupkg' --api-key ${{ secrets.FEEDZ_API_KEY }} --source https://f.feedz.io/aviationexam/apple-app-store-connect-api/nuget/index.json |