Skip to content

use tar.gz extensions for macos and linux builds #18

use tar.gz extensions for macos and linux builds

use tar.gz extensions for macos and linux builds #18

Workflow file for this run

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.tar.gz
- name: Upload Build Artifacts
uses: actions/[email protected]
with:
name: GDL Workbench (Linux)
path: product/target/products/gdlde.product-linux.gtk.x86_64.tar.gz
- name: Upload Release Assets
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: ncipollo/release-action@v1
with:
artifacts: product/target/products/gdlde.product-*
token: ${{ secrets.GITHUB_TOKEN }}