Skip to content

Commit

Permalink
Still debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
sbglasius committed Sep 17, 2024
1 parent b1882f3 commit ff335fa
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,17 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Sonatype OSSRH
# if: ${{ false }} # prevent deploy
if: ${{ env.ACT }} # prevent deploy using gh act
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
SECRING_FILE: ${{ secrets.SECRING_FILE }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
SIGNING_FILE: ${{ github.workspace }}/secring.pgp
SIGN_ARMORED_KEY: ${{ secrets.SIGN_AMORED_KEY }}
SIGN_PASSWORD: ${{ secrets.SIGN_PASSWORD }}
RELEASE_VERSION: ${{ needs.get-version.outputs.version }}
run: |
echo "${SECRING_FILE}" | base64 -d > "${SIGNING_FILE}"
echo "Publishing Artifacts for $RELEASE_VERSION"
(set -x; ./gradlew -Pversion="${RELEASE_VERSION}" publishToSonatype closeAndReleaseSonatypeStagingRepository --no-daemon)
rm "${SIGNING_FILE}"
bump-snapshot-version:
runs-on: ubuntu-latest
needs: [ get-version, release ]
Expand All @@ -71,7 +67,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-java@v4
with:
java-version: 8
java-version: 11
distribution: temurin
- name: Set version in gradle.properties
run: |
Expand All @@ -97,7 +93,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-java@v4
with:
java-version: 8
java-version: 11
distribution: temurin
- uses: micronaut-projects/github-actions/export-gradle-properties@master
id: asciidoctor
Expand Down

0 comments on commit ff335fa

Please sign in to comment.