From 6d8ad4e1b39b4b02bafddc2f7cc54fc591b75e5a Mon Sep 17 00:00:00 2001 From: Rafael Winterhalter Date: Tue, 5 Nov 2019 21:03:41 +0100 Subject: [PATCH] Attempt release from GitHub. --- .github/workflows/deploy.yml | 25 +++++++++++++++++++++++++ release.settings.xml | 9 +++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/deploy.yml create mode 100644 release.settings.xml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000000..882694988e2 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,25 @@ +name: release + +on: + push: + branches: + - release + +jobs: + release: + name: Release new version + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 1 + - uses: actions/setup-java@v1 + with: + java-version: 8 + architecture: x64 + - name: Import GPG keys + run: | + echo "${{ secret.gpg_public }}" | gpg --import + echo "${{ secret.gpg_secret }}" | gpg --import + - name: Release project + run: ./mvnw -s release.settings.xml release:prepare release:perform -DdryRun=true -pl !byte-buddy-gradle-plugin -Dbintray.username=${{ secret.bintray_username }} -Dbintray.password=${{ secret.bintray_password }} -Dgpg.passphrase=${{ secret.gpg_passphrase }} -Dgradle.publish.key=${{ secret.gradle_key }} -Dgradle.publish.secret=${{ secret.gradle_secret }} diff --git a/release.settings.xml b/release.settings.xml new file mode 100644 index 00000000000..784c86280bf --- /dev/null +++ b/release.settings.xml @@ -0,0 +1,9 @@ + + + + bintray + ${bintray.username} + ${bintray.password} + + +