Skip to content

Commit 9fc9c65

Browse files
Update concurrency group and workflow ref (#1396)
This PR updates the workflow files for building the V2 demos from dev and master to pul them from the respective branches rather than relying on the local versions that get checked out (see [the V1 workflows](https://github.com/PennyLaneAI/qml/blob/master/.github/workflows/build-branch-master.yml#L17) for reference.) This also updates the concurrency groups, which were named the same as the V1 groups and were getting cancelled by those runs.
1 parent 99e868e commit 9fc9c65

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/v2-build-branch-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
- cron: '0 0 * * 0,2,4,6' # At 00:00 on Sunday, Tuesday, Thursday, and Saturday.
66

77
concurrency:
8-
group: build-qml-demo-branch-dev
8+
group: v2-build-qml-demo-branch-dev
99
cancel-in-progress: true
1010

1111
jobs:
1212
build_dev:
13-
uses: ./.github/workflows/v2-build-demos.yml
13+
uses: PennyLaneAI/qml/.github/workflows/v2-build-demos.yml@dev
1414
with:
1515
ref: dev
1616
dev: true

.github/workflows/v2-build-branch-master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
- cron: '0 0 * * 0,2,4,6' # At 00:00 on Sunday, Tuesday, Thursday, and Saturday.
66

77
concurrency:
8-
group: build-qml-demo-branch-master
8+
group: v2-build-qml-demo-branch-master
99
cancel-in-progress: true
1010

1111
jobs:
12-
build_master:
13-
uses: ./.github/workflows/v2-build-demos.yml
12+
build_master:
13+
uses: PennyLaneAI/qml/.github/workflows/v2-build-demos.yml@master
1414
with:
1515
ref: master
1616
dev: false

0 commit comments

Comments
 (0)