We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67d53d commit d28a830Copy full SHA for d28a830
.github/workflows/publish-release.yml
@@ -0,0 +1,28 @@
1
+name: Publish Commons Release
2
+on:
3
+ release:
4
+ branches: [ master ]
5
+ types: [ published ]
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
+ environment: deployment
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
+
14
+ - name: Set up JDK
15
+ uses: actions/setup-java@v4
16
+ with:
17
+ distribution: 'temurin'
18
+ java-version: 17
19
+ cache: 'gradle'
20
21
+ - name: Grant execute permission for gradlew
22
+ run: chmod +x gradlew
23
24
+ - name: Publish with Gradle
25
+ run: ./gradlew publish
26
+ env:
27
+ ETERNAL_CODE_MAVEN_USERNAME: ${{ secrets.ETERNAL_CODE_MAVEN_USERNAME }}
28
+ ETERNAL_CODE_MAVEN_PASSWORD: ${{ secrets.ETERNAL_CODE_MAVEN_PASSWORD }}
0 commit comments