Skip to content

Commit 6e065ef

Browse files
committed
ci: fix ci configurations
1 parent 1d779c7 commit 6e065ef

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/github-packages-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
name: Publish Packages to GitHub Packages with Gradle
99

1010
on:
11+
push:
12+
branches:
13+
- main
1114
release:
1215
types: [created]
1316

@@ -44,9 +47,7 @@ jobs:
4447
mkdir -p ~/.gradle/
4548
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
4649
echo "${GRADLE_PROPERTIES}" > ~/.gradle/gradle.properties
47-
48-
- name: Check gradle.properties
49-
run: cat ~/.gradle/gradle.properties
50+
cat ~/.gradle/gradle.properties
5051
5152
- name: Set up JDK 17
5253
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)