Fabiano Fidêncio
b32c6bf805
release: Always use actions/checkout to ensure we're in a git repo
Otherwise we'll face issues like:
```
Run tag=$(echo $GITHUB_REF | cut -d/ -f3-)
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
tarball="kata-static-$tag-amd64.tar.xz"
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
pushd $GITHUB_WORKSPACE
echo "uploading asset '${tarball}' for tag: ${tag}"
GITHUB_TOKEN=*** gh release upload "${tag}" "${tarball}"
popd
shell: /usr/bin/bash -e {0}
~/work/kata-containers/kata-containers ~/work/kata-containers/kata-containers
uploading asset 'kata-static-3.3.0-alpha0-amd64.tar.xz' for tag: 3.3.0-alpha0
failed to run git: fatal: not a git repository (or any of the parent directories): .git
```
Fixes: #8286 (or better, just a follow up of that)
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2023-10-23 14:00:39 +02:00
..
2023-07-11 14:37:10 +02:00
2023-08-31 16:02:31 +02:00
2023-09-08 18:56:31 +02:00
2023-07-11 14:37:10 +02:00
2023-10-10 16:05:48 +00:00
2023-10-03 15:33:55 +02:00
2023-10-04 11:08:11 +02:00
2023-09-14 19:36:33 +02:00
2023-07-11 14:37:10 +02:00
2023-09-11 22:14:55 +02:00
2023-09-08 18:56:31 +02:00
2023-10-08 14:22:01 +00:00
2023-07-11 14:37:10 +02:00
2023-08-31 16:02:31 +02:00
2023-08-31 16:02:31 +02:00
2023-07-28 10:04:33 +02:00
2023-09-08 18:56:31 +02:00
2023-09-21 09:24:13 +02:00
2023-07-11 14:37:10 +02:00
2023-09-11 20:42:57 +02:00
2023-10-04 11:08:11 +02:00
2023-09-11 20:42:57 +02:00
2023-07-31 14:37:52 +02:00
2023-10-04 11:08:11 +02:00
2023-07-31 14:37:52 +02:00
2023-10-23 14:00:39 +02:00
2023-09-08 18:56:31 +02:00
2023-09-15 00:25:41 +02:00
2023-09-16 09:13:54 +02:00
2023-09-16 09:13:54 +02:00
2023-09-20 00:59:09 +02:00
2023-10-08 14:22:01 +00:00
2023-09-19 12:37:56 +02:00
2023-09-19 22:34:37 +02:00
2023-09-27 11:31:17 +02:00
2023-09-21 16:14:39 +00:00
2023-09-15 00:25:41 +02:00
2023-10-04 20:40:32 +02:00
2023-09-21 20:14:41 +00:00