Skip to content

Commit 970f1b5

Browse files
authored
Fix tarball directory structure (#86)
1 parent cd92822 commit 970f1b5

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
3636
- name: Compress built image
3737
run: |
38-
tar -I 'xz -T0' -cf photonvision_rubikpi3.tar.xz ${{ env.image_dir }} --checkpoint=10000 --checkpoint-action=echo='%T'
38+
tar -I 'xz -T0' -cf photonvision_rubikpi3.tar.xz photonvision_rubikpi3 --checkpoint=10000 --checkpoint-action=echo='%T'
3939
4040
- uses: actions/[email protected]
4141
with:

mount_rubikpi3.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,3 @@ mv *.img photonvision_rubikpi3/ 2>/dev/null || true
206206
find photonvision_rubikpi3 -mindepth 2 -type f -exec mv {} photonvision_rubikpi3/ \;
207207
# Remove empty subdirectories
208208
find photonvision_rubikpi3 -mindepth 1 -type d -empty -delete
209-
210-
# Set output for later steps
211-
# Save the rootfs image path for later steps
212-
echo "image_dir=$PWD/photonvision_rubikpi3" >> $GITHUB_ENV

0 commit comments

Comments
 (0)