This repository has been archived by the owner on Mar 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
66 lines (44 loc) · 2.42 KB
/
blank.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Github Actions CI
on: [push]
jobs:
build:
container:
image: mcr.microsoft.com/dotnet/core/sdk:3.1.102-bionic
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v1
- name: Initializacion message
run: echo Initializatin Blazor.Auth0 build!
- name: Build Blazor-Auth0-Shared project.
run: |
dotnet build src/Blazor.Auth0.Shared
- name: Build Blazor-Auth0-ClientSide project.
run: |
dotnet build src/Blazor.Auth0.ClientSide --source packages --source https://api.nuget.org/v3/index.json --configuration Release
- name: Build Blazor-Auth0-ServerSide project.
run: |
dotnet build src/Blazor.Auth0.ServerSide --source packages --source https://api.nuget.org/v3/index.json --configuration Release
- name: Build AspNetCoreHosted Example.
run: |
dotnet build examples/Examples.AspNetCoreHosted/Server --source packages --source https://api.nuget.org/v3/index.json --configuration Release
- name: Build ClientSide Example.
run: |
dotnet build examples/Examples.ClientSide --source packages --source https://api.nuget.org/v3/index.json --configuration Release
- name: Build ServerSide Example.
run: |
dotnet build examples/Examples.ServerSide --source packages --source https://api.nuget.org/v3/index.json --configuration Release
- name: Publish Blazor-Auth0-Share Nuget package.
if: github.ref == 'refs/heads/master'
continue-on-error: true
run: |
dotnet nuget push packages/Blazor-Auth0-Share*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
- name: Publish Blazor-Auth0-ClientSide Nuget package.
if: github.ref == 'refs/heads/master'
continue-on-error: true
run: |
dotnet nuget push packages/Blazor-Auth0-ClientSide*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
- name: Publish Blazor-Auth0-ServerSide Nuget package.
if: github.ref == 'refs/heads/master'
continue-on-error: true
run: |
dotnet nuget push packages/Blazor-Auth0-ServerSide*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json