Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
henalbrod authored Sep 18, 2019
1 parent 936a56a commit c98cc1e
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,17 @@ name: Github Actions CI
on: [push]

jobs:
build:
build:

container: mcr.microsoft.com/dotnet/core/sdk:3.0.100-rc1-disco

container: mcr.microsoft.com/dotnet/core/sdk:3.0.100-rc1-disco


runs-on: ubuntu-latest


steps:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v1
- name: Initializacion message
run: echo Initializatin Blazor.Auth0 build!

run: echo Initializatin Blazor.Auth0 build!

- name: Build Blazor-Auth0-Shared project.
run: |
Expand Down Expand Up @@ -58,25 +53,29 @@ jobs:
dotnet build examples/Examples.ServerSide
- name: Setup Nuget.exe
uses: warrenbuckley/Setup-Nuget@v1

- name: Add GPR Source
env: # Or as an environment variable
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/henalbrod/index.json -Username henalbrod -Password $GITHUB_TOKEN


- name: Publish Blazor-Auth0-Shared Nuget package.
continue-on-error: true
env: # Or as an environment variable
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: |
dotnet nuget push $HOME/Blazor-Auth0-Shared*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
nuget push $HOME/Blazor-Auth0-Shared*.nupkg -Source "GPR" -SkipDuplicate
- name: Publish Blazor-Auth0-ClientSide Nuget package.
continue-on-error: true
env: # Or as an environment variable
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: |
dotnet nuget push $HOME/Blazor-Auth0-ClientSide*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
nuget push $HOME/Blazor-Auth0-ClientSide*.nupkg -Source "GPR" -SkipDuplicate
- name: Publish Blazor-Auth0-ServerSide Nuget package.
continue-on-error: true
env: # Or as an environment variable
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
continue-on-error: true
run: |
dotnet nuget push $HOME/Blazor-Auth0-ServerSide*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
nuget push $HOME/Blazor-Auth0-ServerSide*.nupkg -Source "GPR" -SkipDuplicate

0 comments on commit c98cc1e

Please sign in to comment.