Skip to content

support hmos

support hmos #18

name: .NET Core
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.415
- name: Install dependencies
run: cd Jiguang.JPush && dotnet restore
- name: Build
run: cd Jiguang.JPush && dotnet build --configuration Release
- name: Test
run: cd Jiguang.JPush && dotnet test --no-restore --verbosity normal
- name: Publish
uses: brandedoutcast/publish-nuget@v2.5.2
with:
PROJECT_FILE_PATH: Jiguang.JPush/Jiguang.JPush.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}