From 0dd0f65abe67b94b718bbcd176fd6f8da47cdc53 Mon Sep 17 00:00:00 2001 From: Benjamin Michaelis Date: Tue, 1 Jun 2021 13:33:19 -0700 Subject: [PATCH 1/2] Enable schedule and target version on linux build --- .github/workflows/Branch v9.0 - EssentialCSharp-Linux.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Branch v9.0 - EssentialCSharp-Linux.yml b/.github/workflows/Branch v9.0 - EssentialCSharp-Linux.yml index 04f045b00..83b1c6f2f 100644 --- a/.github/workflows/Branch v9.0 - EssentialCSharp-Linux.yml +++ b/.github/workflows/Branch v9.0 - EssentialCSharp-Linux.yml @@ -5,16 +5,20 @@ on: branches: [ v9.0 ] pull_request: branches: [ v9.0 ] + schedule: + - cron: 0 6 * * 1 jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + ref: v9.0 - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 5.0.x + dotnet-version: 3.1.x - name: Get Directory run: pwd - name: Restore dependencies From 0e5afef9ec02e0ea0eb8c9bde7356ae609243e69 Mon Sep 17 00:00:00 2001 From: Benjamin Michaelis Date: Tue, 1 Jun 2021 13:57:00 -0700 Subject: [PATCH 2/2] Add v9.0 windows github actions build --- ...harp-Linux.yml => Branch v9.0 - Linux.yml} | 2 +- .github/workflows/Branch v9.0 - Windows.yml | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) rename .github/workflows/{Branch v9.0 - EssentialCSharp-Linux.yml => Branch v9.0 - Linux.yml} (92%) create mode 100644 .github/workflows/Branch v9.0 - Windows.yml diff --git a/.github/workflows/Branch v9.0 - EssentialCSharp-Linux.yml b/.github/workflows/Branch v9.0 - Linux.yml similarity index 92% rename from .github/workflows/Branch v9.0 - EssentialCSharp-Linux.yml rename to .github/workflows/Branch v9.0 - Linux.yml index 83b1c6f2f..caf982364 100644 --- a/.github/workflows/Branch v9.0 - EssentialCSharp-Linux.yml +++ b/.github/workflows/Branch v9.0 - Linux.yml @@ -1,4 +1,4 @@ -name: Linux - Branch v9.0 - EssentialCSharp +name: Branch v9.0 - Linux - EssentialCSharp on: push: diff --git a/.github/workflows/Branch v9.0 - Windows.yml b/.github/workflows/Branch v9.0 - Windows.yml new file mode 100644 index 000000000..9b709c42d --- /dev/null +++ b/.github/workflows/Branch v9.0 - Windows.yml @@ -0,0 +1,29 @@ +name: Branch v9.0 - Windows - EssentialCSharp + +on: + push: + branches: [ v9.0 ] + pull_request: + branches: [ v9.0 ] + schedule: + - cron: 0 6 * * 1 + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + with: + ref: v9.0 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.x + - name: Get Directory + run: pwd + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal