Skip to content

more stats, more Type, more filters #576

more stats, more Type, more filters

more stats, more Type, more filters #576

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ master ]
repository_dispatch:
types: [rebuild]
jobs:
build:
name: Maven
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'zulu'
- name: Cache Maven packages
uses: actions/[email protected]
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: cd fr.lip6.move.gal.parent && mvn -T 4 -e generate-sources install && cd -
- name: copy update site to website
run: cp -r fr.lip6.move.gal.updatesite/target/repository/* website/
- name: Copy scripts
run: cp ITS-commandline/fr.lip6.move.gal.itscl.product/target/products/*.zip website/
- name: delete unused platform specifics from dist
run: cd website ; zip -d fr.lip6.move.gal.itscl.product-linux.gtk.x86_64.zip '*its-*-win64' '*its-*-Darwin' ; zip -d fr.lip6.move.gal.itscl.product-macosx.cocoa.x86_64.zip '*its-*-win64' '*its-*-linux64' ; zip -d fr.lip6.move.gal.itscl.product-win32.win32.x86_64.zip '*its-*-linux64' '*its-*-Darwin' ; cd ..
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: website/ # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch
single-commit: true