From 6042d0f71c0c617e65f7c10dc13c82a7e1ffbb9c Mon Sep 17 00:00:00 2001 From: discountchubbs Date: Fri, 25 Jul 2025 13:30:51 -0700 Subject: [PATCH] output dir --- .github/workflows/build-all-tinygrad-models.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-all-tinygrad-models.yaml b/.github/workflows/build-all-tinygrad-models.yaml index a9f776014f..d3fc135004 100644 --- a/.github/workflows/build-all-tinygrad-models.yaml +++ b/.github/workflows/build-all-tinygrad-models.yaml @@ -104,12 +104,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Download all model artifacts - run: | + uses: actions/download-artifact@v4 + with: + pattern: model-* + path: output + - run: | ARTIFACT_DIR="gitlab_docs/models/$RECOMPILED_DIR" mkdir -p "$ARTIFACT_DIR" - for name in $(ls ${{ github.workspace }}/output); do + for name in $(ls output); do mkdir -p "$ARTIFACT_DIR/$name" - cp -r ${{ github.workspace }}/output/$name/* "$ARTIFACT_DIR/$name/" + cp -r output/$name/* "$ARTIFACT_DIR/$name/" done - name: Push recompiled dir to GitLab