From d9dfe49d2128721f6744012c3a3eab1d741e726a Mon Sep 17 00:00:00 2001 From: layue13 Date: Wed, 14 Oct 2026 06:59:51 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=E7=BB=9F=E4=B8=80=20workflow=20=E5=86=99?= =?UTF-8?q?=E6=B3=95=EF=BC=8C=E4=BD=BF=E5=85=B6=E5=9C=A8=20Gitea=20?= =?UTF-8?q?=E4=B8=8E=20GitHub=20=E4=B8=8A=E9=80=9A=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- {.gitea => .github}/workflows/build.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) rename {.gitea => .github}/workflows/build.yml (66%) diff --git a/.gitea/workflows/build.yml b/.github/workflows/build.yml similarity index 66% rename from .gitea/workflows/build.yml rename to .github/workflows/build.yml index 0afc070..855aff9 100644 --- a/.gitea/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,31 +23,25 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 90 env: - GRADLE_USER_HOME: ${{ github.workspace }}/.gradle-ci ARTIFACT_GROUP_ID: uk.potatolab MAVEN_USER: ${{ secrets.MAVEN_USER }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} ORG_GRADLE_PROJECT_tdlmUsername: ${{ secrets.MAVEN_USER }} ORG_GRADLE_PROJECT_tdlmPassword: ${{ secrets.MAVEN_PASSWORD }} steps: - - uses: https://git.potatolab.uk/actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 + - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 with: ref: ${{ inputs.module-ref || github.sha }} fetch-depth: 0 # the package version is derived from git history + filter: blob:none - - uses: https://git.potatolab.uk/actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 + - uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 with: distribution: zulu java-version: '25' cache-jdk: true - - uses: https://git.potatolab.uk/actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 - with: - path: ~/.gradle/jdks - key: gradle-toolchains-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.gradle', '**/gradle.properties', '**/gradle-wrapper.properties') }} - restore-keys: gradle-toolchains-${{ runner.os }}-${{ runner.arch }}- - - - uses: https://git.potatolab.uk/actions/gradle-actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb + - uses: gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb with: cache-provider: basic