Skip to content

Commit 82e24da

Browse files
committed
Switch CI publish branch from master to main
1 parent cbeab4b commit 82e24da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- v*
77
push:
88
branches:
9-
- master
9+
- main
1010
pull_request:
1111

1212
jobs:
@@ -22,7 +22,7 @@ jobs:
2222
git config --global user.name "CI"
2323
./mill __.checkStyle + __[0.12.0].test + __.docJar + __.publishLocal
2424
- name: Publish
25-
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release'
25+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release'
2626
run: |
2727
echo "${{secrets.pgp_secret_key}}" > private.key
2828
gpg --batch --yes --import private.key

0 commit comments

Comments
 (0)