mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-25 18:53:44 +00:00
workflows: Fix the config file path for using vendored sources
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 by21c8511630
. Backports: #2730 Fixes: #2729 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> (cherry picked from commita525991c2c
)
This commit is contained in:
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user