Skip to content

Commit

Permalink
WIP. Testing image.
Browse files Browse the repository at this point in the history
  • Loading branch information
khmarbaise committed Dec 20, 2023
1 parent 149e993 commit 520712d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 36 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/push-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,12 @@ on:
- 'issue-*'

jobs:
build:
update-site:
name: Linux
runs-on: ubuntu-latest
container: maven/eclipse-temurin-21-alpine
steps:

- uses: actions/checkout@v3
name: "Checking out."

- uses: actions/setup-java@v3
with:
java-version: 19
distribution: "temurin"
cache: maven

- name: "Building with Maven."
- name: 'Checkout'
uses: actions/checkout@v3
- name: 'Build with Maven'
run: mvn verify -e -B -V --no-transfer-progress
27 changes: 3 additions & 24 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,9 @@ jobs:
update-site:
name: Linux
runs-on: ubuntu-latest
container: maven/eclipse-temurin-21-alpine
steps:
- name: 'Checkout'
uses: actions/checkout@v3
- name: Cache local Maven repositories
uses: actions/cache@v3
with:
path: |
~/.m2/repository
./**/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: 'Setup Java Version'
uses: actions/setup-java@v3
with:
java-version: 18
distribution: 'temurin'
cache: maven
- name: 'Build'
run: unset JAVA_TOOL_OPTIONS;mvn -V --no-transfer-progress verify site:site site:stage
- name: 'Deploy to gh-pages'
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages
folder: target/staging
target-folder: snapshot

- name: 'Build with Maven'
run: mvn -V --no-transfer-progress verify site:site site:stage

0 comments on commit 520712d

Please sign in to comment.