v1.2.13 #33
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: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Download code from repository | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# Setup Java | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
# Build plugin | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots verify | |
# Upload release | |
- name: Upload release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: gh release upload ${GITHUB_REF##*/} ./target/YamipaPlugin-*.jar |