From a525991c2c27c5da88d02104a7a83831769ef2ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 24 Sep 2021 20:18:58 +0200 Subject: [PATCH] workflows: Fix the config file path for using vendored sources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's a typo in the file that should receive the output of `cargo vendor`. We should use forward the output to `.cargo/config` instead of `.cargo/vendor`. This was introduced by 21c8511630fefecfcdc4af350ba25139dfac8fde. Fixes: #2729 Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5bedf2ecb..ee6ec5e71 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -141,11 +141,11 @@ jobs: - name: generate-and-upload-tarball run: | pushd $GITHUB_WORKSPACE/src/agent - cargo vendor >> .cargo/vendor + cargo vendor >> .cargo/config popd tag=$(echo $GITHUB_REF | cut -d/ -f3-) tarball="kata-containers-$tag-vendor.tar.gz" pushd $GITHUB_WORKSPACE - tar -cvzf "${tarball}" src/agent/.cargo/vendor src/agent/vendor + tar -cvzf "${tarball}" src/agent/.cargo/config src/agent/vendor GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}" popd