|
13 | 13 | OSS_PASSWORD: ${{ secrets.OSS_PASSWORD }}
|
14 | 14 | GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
15 | 15 | jobs:
|
16 |
| - release: |
17 |
| - runs-on: ubuntu-latest |
18 |
| - steps: |
19 |
| - - uses: actions/checkout@v4 |
20 |
| - - name: Set up JDK 11 |
21 |
| - uses: actions/setup-java@v4 |
22 |
| - with: |
23 |
| - distribution: 'zulu' |
24 |
| - java-version: 11 |
25 |
| - cache: 'maven' |
26 |
| - # Value of the distributionManagement/repository/id field of the pom.xml |
27 |
| - server-id: central |
28 |
| - gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} |
29 |
| - server-username: OSS_USERNAME |
30 |
| - server-password: OSS_PASSWORD |
31 |
| - gpg-passphrase: GPG_PASSPHRASE |
32 |
| - - name: Setup Git |
33 |
| - run: | |
34 |
| - git config --global committer.email "[email protected]" |
35 |
| - git config --global committer.name "GitHub Release" |
36 |
| - git config --global author.email "${GITHUB_ACTOR}@users.noreply.github.com" |
37 |
| - git config --global author.name "${GITHUB_ACTOR}" |
38 |
| - - name: Release |
39 |
| - run: ./mvnw -V -B -ntp -Prelease -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} release:prepare release:perform |
40 |
| - - name: Rollback on failure |
41 |
| - if: ${{ failure() }} |
42 |
| - run: | |
43 |
| - ./mvnw -B release:rollback -Prelease -Dgpg.passphrase=${{secrets.GPG_PASSPHRASE}} |
44 |
| - echo "You may need to manually delete the GitHub tag, if it was created." |
| 16 | + # replaced by maven-release.yml |
| 17 | + #release: |
| 18 | + # runs-on: ubuntu-latest |
| 19 | + # steps: |
| 20 | + # - uses: actions/checkout@v4 |
| 21 | + # - name: Set up JDK 11 |
| 22 | + # uses: actions/setup-java@v4 |
| 23 | + # with: |
| 24 | + # distribution: 'zulu' |
| 25 | + # java-version: 11 |
| 26 | + # cache: 'maven' |
| 27 | + # # Value of the distributionManagement/repository/id field of the pom.xml |
| 28 | + # server-id: central |
| 29 | + # gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} |
| 30 | + # server-username: OSS_USERNAME |
| 31 | + # server-password: OSS_PASSWORD |
| 32 | + # gpg-passphrase: GPG_PASSPHRASE |
| 33 | + # - name: Setup Git |
| 34 | + # run: | |
| 35 | + # git config --global committer.email "[email protected]" |
| 36 | + # git config --global committer.name "GitHub Release" |
| 37 | + # git config --global author.email "${GITHUB_ACTOR}@users.noreply.github.com" |
| 38 | + # git config --global author.name "${GITHUB_ACTOR}" |
| 39 | + # - name: Release |
| 40 | + # run: ./mvnw -V -B -ntp -Prelease -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} release:prepare release:perform |
| 41 | + # - name: Rollback on failure |
| 42 | + # if: ${{ failure() }} |
| 43 | + # run: | |
| 44 | + # ./mvnw -B release:rollback -Prelease -Dgpg.passphrase=${{secrets.GPG_PASSPHRASE}} |
| 45 | + # echo "You may need to manually delete the GitHub tag, if it was created." |
45 | 46 | docker:
|
46 | 47 | needs: release
|
47 | 48 | runs-on: ubuntu-latest
|
|
0 commit comments