Skip to content

Commit 1531a02

Browse files
Dogfood continue-on-error
1 parent d5f8ef2 commit 1531a02

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ jobs:
223223
working-directory: project
224224
run: pwd
225225

226+
- shell: bash
227+
continue-on-error: true
228+
run: exit 1
229+
226230
- name: Make target directories
227231
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
228232
shell: bash

build.sbt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,15 @@ ThisBuild / githubWorkflowBuildMatrixExclusions ++= {
4242
ThisBuild / githubWorkflowPublishTimeoutMinutes := Some(45)
4343
ThisBuild / githubWorkflowPublishNeeds += "validate-steward"
4444

45-
ThisBuild / githubWorkflowBuild += WorkflowStep.Run(
46-
List("pwd"),
47-
workingDirectory = Some("project")
45+
ThisBuild / githubWorkflowBuild ++= Seq(
46+
WorkflowStep.Run(
47+
List("pwd"),
48+
workingDirectory = Some("project")
49+
),
50+
WorkflowStep.Run(
51+
List("exit 1"),
52+
continueOnError = true
53+
)
4854
)
4955

5056
ThisBuild / mergifyStewardConfig ~= {

0 commit comments

Comments
 (0)