Skip to content

Commit

Permalink
Include main as main branch candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Mar 4, 2024
1 parent 3ab9b6f commit e937c1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
java-version: ${{ matrix.java }}
distribution: temurin
- uses: coursier/cache-action@v6
cache: sbt
- shell: bash
run: sbt -v $(if [[ "${{matrix.sbt_version}}" != "" ]] ; then echo "^^${{matrix.sbt_version}}" ; fi) test scripted
- shell: bash
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release
on:
push:
branches: [master]
branches: ["master", "main"]
tags: ["*"]
jobs:
publish:
Expand All @@ -14,6 +14,7 @@ jobs:
with:
java-version: 8
distribution: adopt
cache: sbt
- run: sbt -Dsbt.io.jdktimestamps=true ci-release
if: ${{ github.repository_owner == 'sbt' }}
env:
Expand Down

0 comments on commit e937c1e

Please sign in to comment.