Skip to content

Commit

Permalink
fix: action
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyi-Lin committed Sep 6, 2024
1 parent b197069 commit 9008de9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9008de9

Please sign in to comment.