Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Dec 20, 2023
1 parent 9d3906b commit ea682c8
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/actions/nuget-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
if: false
uses: ./.github/actions/get-release-notes
with:
token: ${{ secrets.github-token }}
token: ${{ inputs.github-token }}
version: ${{ inputs.tag-prefix }}${{ steps.get_version.outputs.version }}
repo_owner: ${{ github.repository_owner }}
repo_name: ${{ github.event.repository.name }}
Expand Down
62 changes: 57 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,28 @@ jobs:
nuget-token: ${{ secrets.NUGET_APIKEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

android:
name: Android
uses: ./.github/workflows/nuget-release.yml
needs: build
with:
tag-prefix: 'android-'
project-path: "src/Auth0.OidcClient.Android"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

androidx:
name: AndroidX
uses: ./.github/workflows/nuget-release.yml
needs: build
with:
tag-prefix: 'androidx-'
project-path: "src/Auth0.OidcClient.AndroidX"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

ios:
name: iOS
uses: ./.github/workflows/nuget-release.yml
Expand All @@ -155,6 +177,7 @@ jobs:
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

core:
name: Core
uses: ./.github/workflows/nuget-release.yml
Expand All @@ -166,23 +189,52 @@ jobs:
nuget-token: ${{ secrets.NUGET_APIKEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

# Deploy job
wpf:
name: WPF
uses: ./.github/workflows/nuget-release.yml
needs: build
with:
tag-prefix: 'wpf-'
project-path: "src/Auth0.OidcClient.WPF"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}


winforms:
name: WinForms
uses: ./.github/workflows/nuget-release.yml
needs: build
with:
tag-prefix: 'winforms-'
project-path: "src/Auth0.OidcClient.WinForms"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

uwp:
name: UWP
uses: ./.github/workflows/nuget-release.yml
needs: build
with:
tag-prefix: 'uwp-'
project-path: "src/Auth0.OidcClient.UWP"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}

deploy-docs:
# Add a dependency to publish-nuget job
needs: generate-docs
name: Deploy API docs

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
Expand Down
1 change: 1 addition & 0 deletions src/Auth0.OidcClient.Android/.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.0
1 change: 1 addition & 0 deletions src/Auth0.OidcClient.Core/.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.0
1 change: 1 addition & 0 deletions src/Auth0.OidcClient.UWP/.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.0
1 change: 1 addition & 0 deletions src/Auth0.OidcClient.WPF/.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.0
1 change: 1 addition & 0 deletions src/Auth0.OidcClient.WinForms/.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.0

0 comments on commit ea682c8

Please sign in to comment.