atlassian-downloader/.github/workflows/dotnet-develop.yml

48 lines
877 B
YAML
Raw Normal View History

2021-01-13 18:46:36 +03:00
name: develop
on:
pull_request:
branches:
- '*'
tags:
- '*'
push:
branches:
- 'develop'
jobs:
build:
runs-on: windows-2019
steps:
2021-08-22 01:24:40 +03:00
- uses: actions/checkout@v2
2021-08-22 01:23:10 +03:00
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
include-prerelease: true
2021-01-14 01:19:12 +03:00
- name: Restore
env:
2021-01-14 01:29:52 +03:00
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
2021-01-13 18:46:36 +03:00
run: |
cd src
2021-01-13 18:46:36 +03:00
dotnet restore
2021-01-14 01:19:12 +03:00
2021-01-13 18:46:36 +03:00
- name: Build
2021-01-14 01:19:12 +03:00
env:
2021-01-14 01:29:52 +03:00
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
2021-01-13 18:46:36 +03:00
run: |
cd src
2021-01-13 18:46:36 +03:00
dotnet build --no-restore
2021-01-14 01:19:12 +03:00
2021-01-13 18:46:36 +03:00
- name: Test
2021-01-14 01:19:12 +03:00
env:
2021-01-14 01:29:52 +03:00
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
2021-01-13 18:46:36 +03:00
run: |
cd src
2021-01-13 18:46:36 +03:00
dotnet test --no-build --verbosity normal