Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSOE-743: Cancel ongoing runs of long-running workflows under a PR when new changes are pushed #121

Merged
merged 2 commits into from
Dec 10, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ jobs:
build-and-test-larger-runners:
if: github.ref_name != github.event.repository.default_branch
name: Build and Test (larger runners)
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@issue/OSOE-743
with:
parent-job-name: "root-solution-larger-runners"
BenedekFarkas marked this conversation as resolved.
Show resolved Hide resolved
machine-types: "['buildjet-4vcpu-ubuntu-2204']"
timeout-minutes: 15
build-configuration: Debug
Expand All @@ -22,15 +23,17 @@ jobs:
build-and-test-standard-runners:
if: github.ref_name == github.event.repository.default_branch
name: Build and Test (standard runners)
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@issue/OSOE-743
with:
parent-job-name: "root-solution-standard-runners"
timeout-minutes: 30
build-configuration: Debug

build-and-test-nuget-test:
name: Build and Test - NuGetTest solution
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@issue/OSOE-743
with:
parent-job-name: "nuget-solution"
build-directory: NuGetTest
timeout-minutes: 10

Expand Down