From 9008de9dc4b10650c6ba73e5e0e64d35702245e4 Mon Sep 17 00:00:00 2001 From: ZeYi Lin <944270057@qq.com> Date: Sat, 7 Sep 2024 01:02:34 +0800 Subject: [PATCH] fix: action --- .github/workflows/build-image.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 3ce61d3b..b74bd78b 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -7,11 +7,6 @@ on: tags: - '*' -env: - MODEL_URLS: | - https://github.com/Zeyi-Lin/HivisionIDPhotos/releases/download/pretrained-model/hivision_modnet.onnx - https://github.com/Zeyi-Lin/HivisionIDPhotos/releases/download/pretrained-model/modnet_photographic_portrait_matting.onnx - jobs: docker: runs-on: ubuntu-latest @@ -21,7 +16,7 @@ jobs: uses: actions/checkout@v4 - name: Download models - run: echo ${{ vars.MODEL_URLS }} | xargs -n 1 -I {} wget -P hivision/creator/weights {} + run: echo ${{ vars.MODEL_URLS }} | xargs -n 1 -I {} wget -P "hivision/creator/weights" {} - name: Set up QEMU uses: docker/setup-qemu-action@v3