atlassian-downloader/.github/workflows/dotnet-master.yml
2021-01-14 01:29:52 +03:00

41 lines
832 B
YAML

name: master
on:
push:
branches:
- 'master'
schedule:
- cron: '00 00 * * 6' # At 12:00 AM, only on Saturday
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Restore
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
run: |
cd src/atlassian-downloader
dotnet restore
- name: Build
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
run: |
cd src/atlassian-downloader
dotnet build --no-restore
- name: Test
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
run: |
cd src/atlassian-downloader
dotnet test --no-build --verbosity normal