Skip to content

Commit 31bfffb

Browse files
committed
cleanup workflows
1 parent 37684bf commit 31bfffb

4 files changed

Lines changed: 2 additions & 14 deletions

File tree

.github/workflows/maven-build.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,15 @@ jobs:
2424
distribution: [temurin]
2525

2626
steps:
27-
# Check out Git repository
2827
- name: Checkout code
2928
uses: actions/checkout@v2
3029

31-
# Set up environment with Java and Maven
3230
- name: Setup JDK
3331
uses: actions/setup-java@v2
3432
with:
3533
distribution: ${{ matrix.distribution }}
3634
java-version: ${{ matrix.java }}
3735
cache: 'maven'
3836

39-
# Build & verify
4037
- name: Build and verify
4138
run: ./mvnw -s ./.maven-settings.xml -Pcontinuous-integration -B -U clean verify
42-
43-
# Run code coverage check
44-
- name: Run code coverage check
45-
run: bash <(curl -s https://codecov.io/bash)

.github/workflows/maven-deploy.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,27 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
# Check out Git repository
1817
- name: Checkout code
1918
uses: actions/checkout@v2
2019

21-
# Configure GIT
2220
- name: Configure GIT
2321
run: |
2422
git config --global user.email "${{ secrets.GH_SITE_DEPLOY_EMAIL }}"
2523
git config --global user.name "${{ secrets.GH_SITE_DEPLOY_NAME }}"
2624
27-
# Set up environment with Java and Maven
2825
- name: Setup JDK
2926
uses: actions/setup-java@v2
3027
with:
3128
distribution: temurin
3229
java-version: 8
3330
cache: 'maven'
3431

35-
# Build, deploy to ossrh, generate and stage site
3632
- name: Build, verify, deploy, generate site
3733
env:
3834
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
3935
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
4036
run: ./mvnw -s ./.maven-settings.xml -Pcontinuous-integration -B -U clean deploy site
4137

42-
# Deploy site to Github Pages
4338
- name: Stage and deploy site
4439
run: >
4540
./mvnw -s ./.maven-settings.xml -Pcontinuous-integration -B site:stage scm-publish:publish-scm

parent_toplevel/src/site/site.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<project name="devops.wcm.io"
2323
xmlns="http://maven.apache.org/DECORATION/1.8.0"
2424
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd">
25+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
2626

2727
<bannerLeft>
2828
<name><![CDATA[<img src="https://wcm.io/images/favicon-16@3x.png"/> wcm.io DevOps]]></name>

public_site/src/site/site.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<project name="devops.wcm.io"
2323
xmlns="http://maven.apache.org/DECORATION/1.8.0"
2424
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd">
25+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
2626

2727
<custom>
2828
<reflowSkin>

0 commit comments

Comments
 (0)