Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
romainmoreau committed Oct 22, 2023
1 parent d6ead23 commit 4825f2f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Java CI with Maven
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout gsm-modem
uses: actions/checkout@v4
with:
repository: romainmoreau/gsm-modem
path: gsm-modem
- name: Checkout e-paper
uses: actions/checkout@v4
with:
repository: romainmoreau/e-paper
path: e-paper
- name: Checkout gas-sensor
uses: actions/checkout@v4
with:
path: gas-sensor
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'oracle'
- name: Build gsm-modem
run: mvn -B install --file gsm-modem/pom.xml
- name: Build e-paper
run: mvn -B install --file e-paper/pom.xml
- name: Build gas-sensor
run: mvn -B package --file gas-sensor/pom.xml

0 comments on commit 4825f2f

Please sign in to comment.