There was an error while loading. Please reload this page.
1 parent 31baaee commit 74cc92bCopy full SHA for 74cc92b
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,28 @@
1
+name: release
2
+on:
3
+ push:
4
+ workflow_dispatch:
5
+jobs:
6
+ publish:
7
+ runs-on: ubuntu-22.04
8
+ steps:
9
+ - name: Checkout
10
+ uses: actions/checkout@v2
11
+ with:
12
+ # Fetch all history
13
+ fetch-depth: 0
14
+ - name: Setup Java 25
15
+ uses: actions/setup-java@v2
16
17
+ distribution: 'temurin'
18
+ java-version: '25'
19
+ - name: Maven Publish
20
+ id: maven_publish
21
+ env:
22
+ ARCHIVE_URL: ${{ secrets.TEACON_ARCHIVE_URL }}
23
+ ARCHIVE_ENDPOINT: ${{ secrets.TEACON_ARCHIVE_ENDPOINT }}
24
+ ARCHIVE_ACCESS_KEY: ${{ secrets.TEACON_ARCHIVE_ACCESS_KEY }}
25
+ ARCHIVE_SECRET_KEY: ${{ secrets.TEACON_ARCHIVE_SECRET_KEY }}
26
+ run: |
27
+ chmod +x ./gradlew
28
+ ./gradlew -Dorg.gradle.s3.endpoint=$ARCHIVE_ENDPOINT publish
0 commit comments