From ff79a48930ad1f82ebb0019be1309c1dec33a209 Mon Sep 17 00:00:00 2001 From: TangHuan Date: Thu, 3 Apr 2025 17:00:25 +0800 Subject: [PATCH 1/4] init222-11 --- .gitea/workflows/dev.yaml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index 0cf8ad7..a723cbe 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -8,18 +8,6 @@ jobs: steps: - name: 克隆代码 uses: https://git.pintantan.com/actions/checkout@v4 -# 缓存 Maven 依赖 -# - name: Cache Jdk download -# uses: https://gitea.com/actions/cache@v3 -# with: -# path: $RUNNER_TEMP/java_package.tar.gz -# key: ${{ runner.os }}-jdk-17.0.14 -# restore-keys: ${{ runner.os }}-jdk-17.0.14 -# -# - name: 下载jdk -# run: | -# download_url="https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jdk/x64/linux/OpenJDK17U-jdk_x64_linux_hotspot_17.0.14_7.tar.gz" -# wget -O $RUNNER_TEMP/java_package.tar.gz $download_url - uses: https://git.pintantan.com/actions/setup-node@v4 with: @@ -36,18 +24,3 @@ jobs: - name: 编译 run: npm run build - - name: Login to Gitea Container Registry - uses: https://git.pintantan.com/docker/login-action@v2 - with: - registry: git.pintantan.com - username: ${{ vars.DOCKER_USERNAME }} - password: ${{ vars.DOCKER_PASSWORD }} - - - name: Build and push Docker image - uses: https://git.pintantan.com/docker/build-push-action@v4 - with: - context: . - push: true - tags: git.pintantan.com/${{gitea.repository}}:demo-1.0.0 - - From ad6dcbb9593ac49625681b1a8cd3606b179343a2 Mon Sep 17 00:00:00 2001 From: TangHuan Date: Thu, 3 Apr 2025 17:02:16 +0800 Subject: [PATCH 2/4] init222-11 --- .gitea/workflows/dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index a723cbe..1aebb2a 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -14,7 +14,7 @@ jobs: # Version Spec of the version to use in SemVer notation. # It also admits such aliases as lts/*, latest, nightly and canary builds # Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node - node-version: 'node' + node-version: '14-latest' cache: "npm" # 缓存 Maven 依赖 From 6b85f019c5c268753520d416edaa6adec1816d38 Mon Sep 17 00:00:00 2001 From: TangHuan Date: Thu, 3 Apr 2025 17:03:23 +0800 Subject: [PATCH 3/4] init222-11 --- .gitea/workflows/dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index 1aebb2a..5086db4 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -14,7 +14,7 @@ jobs: # Version Spec of the version to use in SemVer notation. # It also admits such aliases as lts/*, latest, nightly and canary builds # Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node - node-version: '14-latest' + node-version: '14' cache: "npm" # 缓存 Maven 依赖 From cf156266cc0a88323fbedaa9e10c77ad905ac0d6 Mon Sep 17 00:00:00 2001 From: TangHuan Date: Thu, 3 Apr 2025 17:09:28 +0800 Subject: [PATCH 4/4] init222-113 --- .gitea/workflows/dev.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index 5086db4..cf1cb8d 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -5,6 +5,8 @@ on: [push] jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest + vars: + ACTIONS_RUNNER_DEBUG: true steps: - name: 克隆代码 uses: https://git.pintantan.com/actions/checkout@v4 @@ -16,7 +18,7 @@ jobs: # Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node node-version: '14' cache: "npm" - + check-latest: true # 缓存 Maven 依赖 - name: 安装依赖 run: npm ci