Skip to content

Commit e085316

Browse files
committed
publish snapshot build to maven repository via workflow
1 parent baabe64 commit e085316

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish to SNAPSHOT repository
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
12+
env:
13+
RTAST_PUBLISH_PASSWORD: ${{ secrets.RTAST_PUBLISH_PASSWORD }}
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Set up JDK 21
20+
uses: actions/setup-java@v4
21+
with:
22+
distribution: temurin
23+
java-version: 21
24+
cache: gradle
25+
26+
- name: Grant execute permission for gradlew
27+
run: chmod +x ./gradlew
28+
29+
- name: Publish to RTAST-SNAPSHOTS
30+
run: ./gradlew publishAllPublicationsToRTAST-SNAPSHOTSRepository --no-daemon

0 commit comments

Comments
 (0)