-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mahmoud Swehli
committed
Sep 13, 2023
1 parent
35698a5
commit 345d127
Showing
4 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This workflow will build a .NET project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | ||
|
||
name: Publish MagicLink library to nuget | ||
|
||
on: | ||
push: | ||
paths: | ||
- src/Muljin.B2CMagicLink/Muljin.B2CMagicLink/*.csproj | ||
- .github/workflows/magiclink.yml | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: Production | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '7.x' | ||
include-prerelease: true | ||
|
||
- name: Pack with dotnet | ||
run: dotnet pack --configuration Release -o ./out | ||
working-directory: ./src/Muljin.B2CMagicLink/Muljin.B2CMagicLink | ||
- name: Push to nuget | ||
run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} | ||
working-directory: ./src/Muljin.B2CMagicLink/Muljin.B2CMagicLink/out |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This workflow will build a .NET project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | ||
|
||
name: Publish MagicLink Azure KeyVault library to nuget | ||
|
||
on: | ||
push: | ||
paths: | ||
- src/Muljin.B2CMagicLink/Muljin.B2CMagicLink.AzureKeyVault/*.csproj | ||
- .github/workflows/magiclink.yml | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: Production | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '7.x' | ||
include-prerelease: true | ||
|
||
- name: Pack with dotnet | ||
run: dotnet pack --configuration Release -o ./out | ||
working-directory: ./src/Muljin.B2CMagicLink/Muljin.B2CMagicLink.AzureKeyVault | ||
- name: Push to nuget | ||
run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} | ||
working-directory: ./src/Muljin.B2CMagicLink/Muljin.B2CMagicLink.AzureKeyVault/out |
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
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