[SKIP CI] Attempt to cancel old PR workflows
This commit is contained in:
parent
ea029e2b3c
commit
e8d6cdecaa
|
@ -23,7 +23,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Cancel previous runs
|
- name: Cancel previous runs
|
||||||
uses: styfle/cancel-workflow-action@0.5.0
|
uses: styfle/cancel-workflow-action@0.8.0
|
||||||
with:
|
with:
|
||||||
access_token: ${{ github.token }}
|
access_token: ${{ github.token }}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
name: Cancel old pull request workflows
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["PR build check"]
|
||||||
|
types:
|
||||||
|
- requested
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
cancel:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: styfle/cancel-workflow-action@0.8.0
|
||||||
|
with:
|
||||||
|
workflow_id: ${{ github.event.workflow.id }}
|
|
@ -7,7 +7,7 @@ import java.util.Locale
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is meant to be used in place of a factory extension, specifically for what would be a multi-source extension.
|
* This is meant to be used in place of a factory extension, specifically for what would be a multi-source extension.
|
||||||
* A multi-lang (but not multi-source) extension should still be made as a factory extensiion.
|
* A multi-lang (but not multi-source) extension should still be made as a factory extension.
|
||||||
* Use a generator for initial setup of a theme source or when all of the inheritors need a version bump.
|
* Use a generator for initial setup of a theme source or when all of the inheritors need a version bump.
|
||||||
* Source list (val sources) should be kept up to date.
|
* Source list (val sources) should be kept up to date.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -11,7 +11,7 @@ include(":lib-dataimage")
|
||||||
project(":lib-dataimage").projectDir = File("lib/dataimage")
|
project(":lib-dataimage").projectDir = File("lib/dataimage")
|
||||||
|
|
||||||
if (System.getenv("CI") == null || System.getenv("CI_PUSH") == "true") {
|
if (System.getenv("CI") == null || System.getenv("CI_PUSH") == "true") {
|
||||||
// Local development
|
// Local development or full build for push
|
||||||
|
|
||||||
include(":multisrc")
|
include(":multisrc")
|
||||||
project(":multisrc").projectDir = File("multisrc")
|
project(":multisrc").projectDir = File("multisrc")
|
||||||
|
|
Loading…
Reference in New Issue