fix: 使用 apt-get 安装 git(oven/bun 基于 Debian)
Some checks failed
CI/CD Pipeline / Code Quality (push) Failing after 6m40s
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Build Test Image (push) Has been skipped
CI/CD Pipeline / Build Production Image (push) Has been skipped
CI/CD Pipeline / Deploy to Test (push) Has been skipped
CI/CD Pipeline / Deploy to Production (push) Has been skipped

This commit is contained in:
Wang Zhuoxuan 2026-04-17 11:54:34 +08:00
parent a93b67185c
commit ac2843a3f8

View File

@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install git - name: Install git
run: apk add --no-cache git run: apt-get update && apt-get install -y git
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -45,7 +45,7 @@ jobs:
needs: quality needs: quality
steps: steps:
- name: Install git - name: Install git
run: apk add --no-cache git run: apt-get update && apt-get install -y git
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -73,7 +73,7 @@ jobs:
if: github.ref == 'refs/heads/develop' if: github.ref == 'refs/heads/develop'
steps: steps:
- name: Install git - name: Install git
run: apk add --no-cache git run: apt-get update && apt-get install -y git
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -99,7 +99,7 @@ jobs:
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
steps: steps:
- name: Install git - name: Install git
run: apk add --no-cache git run: apt-get update && apt-get install -y git
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4