Skip to content

Commit

Permalink
Fixes piranhacloud#4264 - Refactor workflows (piranhacloud#4265)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Nov 24, 2024
1 parent f7bdb57 commit 9c7be5f
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/current.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ 21, 23 ]
java: [ 21 ]
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout Sources
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-docs
name: docs
on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -27,7 +27,7 @@ jobs:
java-version: 21
- name: Build with Maven
run: |
mvn -B -DskipTests -DskipITs -DstagingDirectory=$PWD/target/staging -ntp -T 1 install site site:stage
mvn -B -DskipTests -DskipITs -DstagingDirectory=$PWD/target/staging -ntp -P '!test' -T 1 install site site:stage
rm -rf piranha-website/release || true
mkdir -p piranha-website/release || true
cp -R target/staging/* piranha-website/release/
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/experimental.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: expiremental
on:
push:
branches:
- 'current'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
java: [ 23 ]
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout Sources
uses: actions/checkout@v4
- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B -ntp -T 1 install
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
java: [ 21, 23 ]
java: [ 21 ]
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout Sources
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
distribution: 'temurin'
java-version: '21'
- name: Build with Maven
run: mvn -B -DskipTests=true -DskipITs=true --ntp install
run: mvn -B -DskipTests=true -DskipITs=true -ntp install
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
docs:
Expand All @@ -56,4 +56,4 @@ jobs:
java-version: 21
- name: Build with Maven
run: |
mvn -B -DskipTests -DskipITs --ntp -T 1 install site
mvn -B -DskipTests=true -DskipITs=true -ntp -T 1 install site

0 comments on commit 9c7be5f

Please sign in to comment.