Skip to content

Merge pull request #8 from 4ever2/ij1-macro #17

Merge pull request #8 from 4ever2/ij1-macro

Merge pull request #8 from 4ever2/ij1-macro #17

Workflow file for this run

name: 'Build ImageJ1 Plugin'
on:
push:
branches:
- 'master'
paths:
- 'ij1plugin/**/*'
pull_request:
paths:
- 'ij1plugin/**/*'
permissions:
contents: 'read'
jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- name: Checkout branch ${{ github.ref_name }}
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'zulu'
cache: maven
- name: Build
run: cd ij1plugin && mvn package
- name: Prepare artifact
run: mkdir staging && cp ij1plugin/target/*.jar staging
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Package
path: staging/*.jar
retention-days: 7