1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-09 15:18:15 +08:00

ci: 调试

This commit is contained in:
涵曦
2024-12-17 13:32:37 +08:00
parent fa67b6deb1
commit 136d0efde4

View File

@@ -22,14 +22,12 @@ jobs:
- uses: actions/checkout@v4
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
/tmp/.buildx-cache
/tmp/.buildx-cache-new
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@@ -85,14 +83,12 @@ jobs:
needs: build # 依赖构建完成
steps:
- name: Cache Docker layers for testing
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
/tmp/.buildx-cache
/tmp/.buildx-cache-new
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Test amd64 image
run: docker run --rm ${{ env.TEST_TAG }}-linux-amd64 /app/.venv/bin/python3 /app/xiaomusic.py -h
@@ -142,14 +138,12 @@ jobs:
needs: test # 依赖测试完成
steps:
- name: Cache Docker layers for packaging
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
/tmp/.buildx-cache
/tmp/.buildx-cache-new
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Package /app for amd64
run: |