Skip to content

Commit

Permalink
Merge pull request #2730 from fidencio/wip/release-fix-using-vendored…
Browse files Browse the repository at this point in the history
…-sources

workflows: Fix the config file path for using vendored sources
  • Loading branch information
fidencio authored Sep 24, 2021
2 parents 9ad4475 + a525991 commit ed70548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ed70548

Please sign in to comment.