Skip to content

Commit e5b5a18

Browse files
committed
Test
1 parent debcdcd commit e5b5a18

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ jobs:
4141
- uses: actions/cache@v4
4242
with:
4343
path: /home/runner/.cache/image-create
44-
key: ${{ env.IMAGE_NAME }}-${{ github.head_ref || github.ref_name }}
44+
key: ${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ matrix.version }}-${{ github.head_ref || github.ref_name }}
4545
restore-keys: |
46-
${{ env.IMAGE_NAME }}-${{ github.head_ref || github.ref_name }}
47-
${{ env.IMAGE_NAME }}
46+
${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ matrix.version }}-${{ github.head_ref || github.ref_name }}
47+
${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ matrix.version }}
4848
${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}
4949
50-
- run: uv run disk-image-create -o "${IMAGE_NAME}.qcow2" vm block-device-efi ${{ steps.split.outputs._0 }} kubernetes
50+
- run: |
51+
uv run disk-image-create vm block-device-efi ${{ steps.split.outputs._0 }} kubernetes
52+
mv image.qcow2 "${IMAGE_NAME}.qcow2"
5153
env:
5254
ELEMENTS_PATH: ${{ github.workspace }}/elements
5355
DIB_RELEASE: ${{ steps.split.outputs._1 }}

0 commit comments

Comments
 (0)