Skip to content

Commit

Permalink
Attempt release from GitHub.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Nov 5, 2019
1 parent 571f3dd commit 6d8ad4e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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 }}
9 changes: 9 additions & 0 deletions release.settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<settings>
<servers>
<server>
<id>bintray</id>
<username>${bintray.username}</username>
<password>${bintray.password}</password>
</server>
</servers>
</settings>

0 comments on commit 6d8ad4e

Please sign in to comment.