mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-16 07:05:14 +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 by 21c8511630
.
Fixes: #2729
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
parent
9ad44750e8
commit
a525991c2c
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -141,11 +141,11 @@ jobs:
|
|||||||
- name: generate-and-upload-tarball
|
- name: generate-and-upload-tarball
|
||||||
run: |
|
run: |
|
||||||
pushd $GITHUB_WORKSPACE/src/agent
|
pushd $GITHUB_WORKSPACE/src/agent
|
||||||
cargo vendor >> .cargo/vendor
|
cargo vendor >> .cargo/config
|
||||||
popd
|
popd
|
||||||
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
||||||
tarball="kata-containers-$tag-vendor.tar.gz"
|
tarball="kata-containers-$tag-vendor.tar.gz"
|
||||||
pushd $GITHUB_WORKSPACE
|
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}"
|
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}"
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user