Skip to content

Commit 5f5922b

Browse files
Merge pull request #10 from OneLiteFeatherNET/develop
Fix publish workflow
2 parents fe3daf7 + bfd8f4c commit 5f5922b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: Publish JAR
22

33
on:
44
push:
5-
tags:
6-
- '**'
5+
branches:
6+
- master
7+
- develop
78
jobs:
89
build:
910
runs-on: ubuntu-latest
@@ -13,15 +14,12 @@ jobs:
1314
steps:
1415
- name: Checkout repository
1516
uses: actions/checkout@v4
16-
1717
- name: Set up JDK 21
1818
uses: actions/setup-java@v4
1919
with:
2020
distribution: 'temurin'
2121
java-version: '21'
22-
2322
- name: Build with Gradle
2423
run: ./gradlew build
25-
2624
- name: Publish to Maven
2725
run: ./gradlew publish

0 commit comments

Comments
 (0)