From 364af106993101bc8fd768511180e9c9a8fcc4b6 Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 13 Jan 2021 18:42:32 +0300 Subject: [PATCH 1/4] Create dotnet-master.yml --- .github/workflows/dotnet-master.yml | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/dotnet-master.yml diff --git a/.github/workflows/dotnet-master.yml b/.github/workflows/dotnet-master.yml new file mode 100644 index 0000000..62da0f6 --- /dev/null +++ b/.github/workflows/dotnet-master.yml @@ -0,0 +1,32 @@ +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: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 5.0.1 + - name: Restore dependencies + run: | + cd src + dotnet restore + - name: Build + run: | + cd src + dotnet build --no-restore + - name: Test + run: | + cd src + dotnet test --no-build --verbosity normal From 0d7c42a649b3cd10c329c15dc526b6b9133fbccc Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 13 Jan 2021 18:46:36 +0300 Subject: [PATCH 2/4] Create dotnet.yml --- .github/workflows/dotnet.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..07e024a --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,31 @@ +name: develop + +on: + pull_request: + branches: + - '*' + tags: + - '*' + push: + branches: + - 'develop' + +jobs: + build: + + runs-on: windows-2019 + + steps: + - uses: actions/checkout@v2 + - name: Restore dependencies + run: | + cd src + dotnet restore + - name: Build + run: | + cd src + dotnet build --no-restore + - name: Test + run: | + cd src + dotnet test --no-build --verbosity normal From 371ede2feebcac1d27eb80db35ae93b715f0d93b Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 13 Jan 2021 18:47:24 +0300 Subject: [PATCH 3/4] Update dotnet-master.yml --- .github/workflows/dotnet-master.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/dotnet-master.yml b/.github/workflows/dotnet-master.yml index 62da0f6..f81ed45 100644 --- a/.github/workflows/dotnet-master.yml +++ b/.github/workflows/dotnet-master.yml @@ -14,10 +14,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 5.0.1 - name: Restore dependencies run: | cd src From 74b60af35b6394e3939a8dba718d099d78ebc8f0 Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 13 Jan 2021 18:49:01 +0300 Subject: [PATCH 4/4] Rename dotnet.yml to dotnet-develop.yml --- .github/workflows/{dotnet.yml => dotnet-develop.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{dotnet.yml => dotnet-develop.yml} (100%) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet-develop.yml similarity index 100% rename from .github/workflows/dotnet.yml rename to .github/workflows/dotnet-develop.yml