Skip to content

Commit 36a27e2

Browse files
authored
Merge pull request #8 from BotTech/publish-main
Publish main
2 parents 56d3791 + 1c3d7d6 commit 36a27e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
publish:
7272
name: Publish Artifacts
7373
needs: [build]
74-
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
74+
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
7575
strategy:
7676
matrix:
7777
os: [ubuntu-latest]

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ inThisBuild(
7676
)
7777
)
7878
),
79-
githubWorkflowPublishTargetBranches := List(RefPredicate.StartsWith(Ref.Tag("v"))),
79+
githubWorkflowPublishTargetBranches += RefPredicate.StartsWith(Ref.Tag("v")),
8080
githubWorkflowTargetTags ++= List("v*"),
8181
pgpSigningKey := Some("0x8DB7DFA142551359!"),
8282
// This needs to be set otherwise the GitHub workflow plugin gets confused about which

0 commit comments

Comments
 (0)