From 4c20d5f34b96beff06b258f570cd80d7058274cf Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Thu, 27 Aug 2026 12:37:12 +0200 Subject: [PATCH] Resolve OpenRewrite snapshots from the Code Genome Project in the Pages workflow --- .github/workflows/pages.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 9328f44c..cd291770 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -37,8 +37,15 @@ jobs: distribution: temurin java-version: 17 cache: maven + server-id: codegenome + server-username: CODEGENOME_USERNAME + server-password: CODEGENOME_TOKEN - name: site run: ./mvnw --show-version --update-snapshots clean site --file=pom.xml --fail-at-end --batch-mode -Dstyle.color=always -Ddependency-check.skip=true + env: + # Activates the codegenome profile in pom.xml, which serves the upstream OpenRewrite snapshots. + CODEGENOME_USERNAME: ${{ secrets.CODEGENOME_USERNAME }} + CODEGENOME_TOKEN: ${{ secrets.CODEGENOME_TOKEN }} - uses: actions/configure-pages@v6 - uses: actions/upload-pages-artifact@v5 with: