Skip to content

Commit

Permalink
Blazor 3.0.0 support.
Browse files Browse the repository at this point in the history
Some other fixes:
Fixes: #47
Fixes: #48
Fixes: #44
Fixes: #29
  • Loading branch information
galvesribeiro committed Oct 31, 2019
1 parent 1d59be9 commit 4d72460
Show file tree
Hide file tree
Showing 16 changed files with 227 additions and 252 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI

on:
pull_request:
branches:
- master

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.0.100
- name: Build
run: dotnet build --configuration Release
36 changes: 36 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish

on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.0.100
- name: Build
run: dotnet build --configuration Release
- name: Pack
working-directory: src/Blazor.Extensions.Canvas
run: dotnet pack --configuration Release
- name: Push
working-directory: src/Blazor.Extensions.Canvas/bin/Release
run: |
dotnet nuget push Blazor.Extensions.Canvas.*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
- name: Create Release
uses: actions/create-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
29 changes: 0 additions & 29 deletions .vsts-ci.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .vsts-release.yml

This file was deleted.

Loading

0 comments on commit 4d72460

Please sign in to comment.