Skip to content

Commit 1816316

Browse files
authored
Trigger a release job on any commits to the main branch (#35)
1 parent 30363a1 commit 1816316

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Release
22
on:
33
push:
4+
branches: [main]
45
tags: ["v*"]
56

67
jobs:
@@ -15,6 +16,7 @@ jobs:
1516
java-version: '21'
1617
distribution: 'temurin'
1718
cache: 'sbt'
19+
- uses: sbt/setup-sbt@v1
1820
- run: sbt ci-release
1921
env:
2022
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}

0 commit comments

Comments
 (0)