Skip to content

Commit

Permalink
Merge pull request #27 from pauldaustin/4.4.x
Browse files Browse the repository at this point in the history
4.4.x
  • Loading branch information
pauldaustin authored Feb 6, 2024
2 parents e359464 + 7f9e718 commit 35d8b1a
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 3 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/BuildCheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build Check

on:
push:
branches:
- 'main'
- 'feature/*'
- 'patch/*'

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:

#### Initialize Environment ####
- name: Initialize Environment
run: |
REF="$GITHUB_REF"
if [[ "$REF" =~ ^refs/heads/.* ]]; then
REF="${REF/refs\/heads\//}"
elif [[ "$REF" =~ ^refs/tags/.* ]]; then
REF="${REF/refs\/tags\//}"
else
echo "Ref must be a branch or tag '${REF}'"
exit -1
fi
echo "REF=${REF}" >> $GITHUB_ENV
#### Checkout jeometry ####
- name: Checkout jeometry
uses: actions/checkout@v4
with:
ref: ${{env.REF}}
path: jeometry

#### JAVA VERSION ####
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'microsoft'
cache: 'maven'

#### Build & Deploy ####
- name: Build & Deploy
working-directory: ./jeometry
run: mvn -B -ntp -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip install
2 changes: 1 addition & 1 deletion jeometry-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jeometry</groupId>
<artifactId>jeometry-parent</artifactId>
<version>MAIN-SNAPSHOT</version>
<!-- VERSION --><version>MAIN-SNAPSHOT</version>
</parent>
<artifactId>jeometry-common</artifactId>
<name>jeometry.org Common API</name>
Expand Down
2 changes: 1 addition & 1 deletion jeometry-coordinatesystem/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jeometry</groupId>
<artifactId>jeometry-parent</artifactId>
<version>MAIN-SNAPSHOT</version>
<!-- VERSION --><version>MAIN-SNAPSHOT</version>
</parent>
<artifactId>jeometry-coordinatesystem</artifactId>
<name>jeometry.org Coordinate Systems</name>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<artifactId>jeometry-parent</artifactId>
<packaging>pom</packaging>
<name>Jeometry.org</name>
<version>MAIN-SNAPSHOT</version>
<!-- VERSION --><version>MAIN-SNAPSHOT</version>
<description>The parent module of the Jeometry.org Libraries.</description>
<url>http://revolsys.github.com/com.revolsys.open/</url>

Expand Down

0 comments on commit 35d8b1a

Please sign in to comment.