Skip to content

Instantly share code, notes, and snippets.

@vogella
Created December 10, 2020 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vogella/7ff53a16df66a51fa823bba6a0cf0085 to your computer and use it in GitHub Desktop.
Save vogella/7ff53a16df66a51fa823bba6a0cf0085 to your computer and use it in GitHub Desktop.
# This workflow will build the Eclipse RCP application with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
run: mvn clean verify --file pom.xml -T4
- uses: actions/upload-artifact@v2
with:
name: minova-wfc-linux
path: /home/runner/work/yourpath/releng/rcp.product/target/products/*linux*.zip
- uses: actions/upload-artifact@v2
with:
name: minova-wfc-mac
path: /home/runner/work/yourpath/releng/rcp.product/target/products/*mac*.zip
- uses: actions/upload-artifact@v2
with:
name: minova-wfc-win
path: /home/runner/work/yourpath/releng/rcp.product/target/products/*win*.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment