From 9d8dbb23e3a1a42358d7dc96bc63fb74bfb0c92a Mon Sep 17 00:00:00 2001 From: hocine BENKHADRA Date: Mon, 5 Aug 2024 22:49:12 +0200 Subject: [PATCH] debug(ci-rs.yml): add * to path try to fix "not found" problem with upload-artifact --- .github/workflows/ci-rs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-rs.yml b/.github/workflows/ci-rs.yml index 0053353..0be9413 100644 --- a/.github/workflows/ci-rs.yml +++ b/.github/workflows/ci-rs.yml @@ -115,15 +115,15 @@ jobs: run: cargo build --release --target ${{ matrix.settings.target }} # List contents of the target directory for debugging - - name: List target directory contents - run: ls -R ./target/${{ matrix.settings.target }} + # - name: List target directory contents + # run: ls -R ./target/${{ matrix.settings.target }} # Upload artifact for the next steps (test and publish) - name: Upload artifact uses: actions/upload-artifact@v4 with: name: build-rs-${{ matrix.settings.host }}-${{ matrix.settings.target }} - path: ./target/${{ matrix.settings.target }} + path: ./target/${{ matrix.settings.target }}/* if-no-files-found: error publish: