diff --git a/.github/workflows/checksum_checker.yaml b/.github/workflows/checksum_checker.yaml index e177def5cdf7..ce8bf876c0da 100644 --- a/.github/workflows/checksum_checker.yaml +++ b/.github/workflows/checksum_checker.yaml @@ -11,9 +11,12 @@ jobs: - name: Install dependencies run: | pip install huggingface_hub - # yq - VERSION=v4.43.1 BINARY=yq_linux_amd64 wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\ - tar xz && sudo mv ${BINARY} /usr/bin/yq + - name: 'Setup yq' + uses: dcarbone/install-yq-action@v1.1.1 + with: + version: 'v4.43.1' + download-compressed: true + force: true - name: Checksum checker 🔧 run: | bash .github/checksum_checker.sh gallery/index.yaml @@ -26,4 +29,4 @@ jobs: title: 'models(gallery): :arrow_up: update checksum' branch: "update/checksum" body: Updating checksums in gallery/index.yaml - signoff: true \ No newline at end of file + signoff: true