Skip to content

Commit

Permalink
ci workflow v1, no deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
paulHempel authored Jan 31, 2024
1 parent 47fe0ff commit e32c0ec
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build GraalVM Java App with Maven

on:
push:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up GraalVM 17
uses: graalvm/setup-graalvm@v1
with:
java-version: '20'
distribution: 'graalvm'
cache: maven
- name: Build with Maven
run: mvn -s settings.xml -q clean package -Pnative -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -B -V
- name: Copy artifacts to target
run: |
cp target/backend-proxy-1.0-SNAPSHOT-runner target/dist/application
cp -R $GRAALVM_HOME/jre/lib/amd64 target/dist/lib
cp $GRAALVM_HOME/jre/lib/security/cacerts target/dist/cacerts
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6

0 comments on commit e32c0ec

Please sign in to comment.