Skip to content

Commit

Permalink
Fixes piranhacloud#4239 - Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Nov 22, 2024
1 parent de1fcda commit 75d4c03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 35 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: build
name: current
on:
push:
branches:
- '*'
- 'current'
tags-ignore:
- 'v*'
workflow_dispatch:
jobs:
docs:
if: github.repository == 'piranhacloud/piranha'
runs-on: ubuntu-latest
steps:
- name: Checkout Piranha
Expand All @@ -26,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/snapshot || true
mkdir -p piranha-website/snapshot || true
cp -R target/staging/* piranha-website/snapshot/
Expand Down
18 changes: 1 addition & 17 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,4 @@ jobs:
java-version: 21
- name: Build with Maven
run: |
mvn -B -DskipTests -DskipITs -ntp -T 1 install site
maven-plugin:
needs: docs
runs-on: ubuntu-latest
steps:
- name: Checkout Piranha
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Build with Maven
run: |
mvn -B -DskipTests -DskipITs -ntp install
cd maven/plugin
mvn -B -DskipTests -DskipITs -ntp site
mvn -B -DskipTests -DskipITs --ntp -T 1 install site
15 changes: 0 additions & 15 deletions uber/pom.xml

This file was deleted.

0 comments on commit 75d4c03

Please sign in to comment.