Skip to content

Allow passing task id when dispaching bgtasks #17

Allow passing task id when dispaching bgtasks

Allow passing task id when dispaching bgtasks #17

Workflow file for this run

name: CI
on:
push:
branches: [main, dev]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
6.0.417
7.0.404
8.0.100
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage"
- name: Codecov
uses: codecov/codecov-action@v3
publish_packages:
needs: test
runs-on: ubuntu-latest
env:
ContinuousIntegrationBuild: true
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
6.0.417
7.0.404
8.0.100
- name: Restore dependencies
run: dotnet restore
- name: Restore tools
run: dotnet tool restore
- name: Build
run: dotnet build --configuration Release --no-restore --version-suffix="ci.${GITHUB_RUN_NUMBER}"