Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Commit

Permalink
Add build GitHub workflow
Browse files Browse the repository at this point in the history
Part of #5
  • Loading branch information
d-gs committed Aug 20, 2021
1 parent 9f52fa5 commit 72a85d2
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
architecture: x64

- name: Maven Build
run: mvn verify

# Then upload the artifacts to the workflow
- name: Upload Linux artifact
uses: actions/upload-artifact@v2
with:
name: GEM-linux
path: products\org.aposin.gem.product\target\products\GEM-*.linux.*.zip
# Then upload the artifact to the workflow

- name: Upload Windows artifact
uses: actions/upload-artifact@v2
with:
name: GEM-win
path: products\org.aposin.gem.product\target\products\GEM-*.win32.*.zip

0 comments on commit 72a85d2

Please sign in to comment.