Skip to content

Update build-pr.yml #84

Update build-pr.yml

Update build-pr.yml #84

Workflow file for this run

name: build PR
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'zulu'
cache: 'maven'
- name: Download BoneJ-plus JAR from BoneJ-plus Release

Check failure on line 20 in .github/workflows/build-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
run: |
curl -L \
-H "Authorization: Bearer ${{ secrets.BONEJ_PLUS_REPO }}" \
-o bonej-plus-0.0.3.jar \
https://github.com/bonej-org/bonej-plus/releases/download/bonej-plus-0.0.3/bonej-plus-0.0.3.jar
- name: Install BoneJ-plus into local Maven repository
run: |
mvn install:install-file \
-Dfile=bonej-plus-0.0.3.jar \
-DgroupId=org.bonej \
-DartifactId=bonej-plus \
-Dversion=0.0.3 \
-Dpackaging=jar
- name: Set up CI environment
run: .github/setup.sh
- name: Execute the build
run: .github/build.sh