This is an automated email from the ASF dual-hosted git repository. veithen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ws-axiom.git
The following commit(s) were added to refs/heads/master by this push: new a638b1819 Make Github Actions build the Maven site a638b1819 is described below commit a638b181979c1cd7dae0ad530f0da3633c39389d Author: Andreas Veithen <andreas.veit...@gmail.com> AuthorDate: Fri Sep 13 15:29:10 2024 +0000 Make Github Actions build the Maven site --- .github/workflows/ci.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 667b97acf..e95ed9da2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,11 +51,36 @@ jobs: run: mvn -B -e -Papache-release -Dgpg.skip=true verify - name: Remove Snapshots run: find ~/.m2/repository -name '*-SNAPSHOT' -a -type d -print0 | xargs -0 rm -rf + site: + name: Site + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Cache Maven Repository + uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: maven-site-${{ hashFiles('**/pom.xml') }} + restore-keys: | + maven-site- + maven- + - name: Set up Java + uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: 17 + - name: Build + run: mvn -B -e -Dmaven.test.skip=true package site-deploy + - name: Remove Snapshots + run: find ~/.m2/repository -name '*-SNAPSHOT' -a -type d -print0 | xargs -0 rm -rf deploy: if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'apache/ws-axiom' name: Deploy runs-on: ubuntu-22.04 - needs: build + needs: + - build + - site steps: - name: Checkout uses: actions/checkout@v4