add tags #17
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: Java CI | |
on: | |
push: | |
branches: [ master ] | |
tags: | |
- v** | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Build GDLDE | |
run: ./mvnw clean verify | |
- name: Upload Build Artifacts | |
uses: actions/[email protected] | |
with: | |
name: GDL Workbench (Windows) | |
path: product/target/products/gdlde.product-win32.win32.x86_64.zip | |
- name: Upload Build Artifacts | |
uses: actions/[email protected] | |
with: | |
name: GDL Workbench (macOS) | |
path: product/target/products/gdlde.product-macosx.cocoa.x86_64.zip | |
- name: Upload Build Artifacts | |
uses: actions/[email protected] | |
with: | |
name: GDL Workbench (Linux) | |
path: product/target/products/gdlde.product-linux.gtk.x86_64.zip | |
- name: Upload Release Assets | |
if: ${{ startsWith(github.ref, 'refs/tags/v') }} | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: product/target/products/gdlde.product-*.zip | |
token: ${{ secrets.GITHUB_TOKEN }} |