Skip to content

Commit

Permalink
github-397 Automate build using GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kupferk committed Apr 14, 2023
1 parent 5bb4939 commit 21d04ae
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven

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

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
cache: maven
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Build with Maven
run: mvn -B package --file pom.xml -Ddockerfile.skip -Dgpg.skip=true

# 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@v3
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Breaking changes will be documented in this changelog file for each version.
* github-393: Move Maven archetype to flowman-maven project
* github-394: [BUG] The Spark job group and description are not set for sql assertions
* github-395: Support optional file locations for project imports
* github-397: Automate build using GitHub actions

### Breaking changes

Expand Down

0 comments on commit 21d04ae

Please sign in to comment.