chore(deps): bump org.codehaus.groovy:groovy from 3.0.11 to 3.0.20 #91
Workflow file for this run
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: Build | |
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: temurin | |
cache: maven | |
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml | |
server-username: MAVEN_USERNAME # env variable for username in deploy | |
server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy | |
gpg-private-key: ${{ secrets.gpg_private_key }} # Value of the GPG private key to import | |
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase | |
- name: Build and deploy | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
MAVEN_USERNAME: ${{ secrets.ossrh_username }} | |
MAVEN_CENTRAL_TOKEN: ${{ secrets.ossrh_password }} | |
MAVEN_GPG_PASSPHRASE: ${{ secrets.gpg_passphrase }} | |
run: ./mvnw -B -ntp clean deploy | |
- run: mkdir staging && cp target/*.zip staging | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Connectors | |
path: staging |