Skip to content

Commit b669ab6

Browse files
ci: add Reposilite publish workflow (#10)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent d839bcb commit b669ab6

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish to Reposilite
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up JDK 25
18+
uses: actions/setup-java@v4
19+
with:
20+
distribution: temurin
21+
java-version: '25'
22+
23+
- name: Make gradlew executable
24+
run: chmod +x ./gradlew
25+
26+
- name: Build & publish to Reposilite
27+
env:
28+
# Reposilite token, injected from repo/org secrets — never committed.
29+
ORG_GRADLE_PROJECT_AtlasEngineUsername: ${{ secrets.REPOSILITE_USERNAME }}
30+
ORG_GRADLE_PROJECT_AtlasEnginePassword: ${{ secrets.REPOSILITE_PASSWORD }}
31+
run: ./gradlew publish --no-daemon --stacktrace

0 commit comments

Comments
 (0)