RELEASE #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RELEASE | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
environment: release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Import GPG key | |
id: import_gpg | |
uses: crazy-max/ghaction-import-gpg@v3 | |
with: | |
gpg-private-key: ${{ secrets.PPG_KEY }} | |
passphrase: ${{ secrets.PGP_PASSPHRASE }} | |
- name: Checkout code | |
uses: actions/checkout@master # don't get confused by @master - it is the version of the checkout action. You repo will be checked out with ${{ github.ref }} | |
- name: Build site and deploy maven registry | |
env: | |
BAOPSO_GPG_46948F68_KEYNAME: ${{ secrets.PGP_KEYNAME }} | |
BAOPSO_GPG_46948F68_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
OSSRH_PWD_TOKEN: ${{ secrets.OSSRH_PWD_TOKEN }} | |
OSSRH_USER_TOKEN: ${{ secrets.OSSRH_USER_TOKEN }} | |
run: mvn -V -B --no-transfer-progress --settings .github/maven-settings.xml -P release clean deploy |