Skip to content

Commit da27111

Browse files
committed
Enable publishing of core module to Maven
1 parent e72c520 commit da27111

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
- RELEASE
1313

1414
env:
15+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
16+
MAVEN_SECRET: ${{ secrets.MAVEN_SECRET }}
1517
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1618

1719
jobs:
@@ -65,6 +67,11 @@ jobs:
6567
shell: bash
6668
run: mv launcher-gui/build/image.zip launcher-gui/build/taulauncher-${{ matrix.os }}.zip
6769

70+
- name: Publish core module
71+
if: runner.os == 'Linux'
72+
shell: bash
73+
run: ./gradlew :launcher-core:publishToMavenLocal -Prelease_channel=${{ inputs.release_type }} --stacktrace
74+
6875
- name: Upload version artifact
6976
uses: actions/upload-artifact@v4
7077
with:

0 commit comments

Comments
 (0)