1
0
Fork 0

Test if double-zip is detected

This commit is contained in:
Patryk Obara 2019-12-05 22:16:02 +01:00 committed by Patryk Obara
parent 9576db91c1
commit c5cff3ef91

View file

@ -78,12 +78,13 @@ jobs:
mv dest "dosbox-staging-$VERSION"
tree --si -p "dosbox-staging-$VERSION"
# Create tarball
tar -cJf "dosbox-staging-$VERSION.tar.xz" "dosbox-staging-$VERSION"
#tar -cJf "dosbox-staging-$VERSION.tar.xz" "dosbox-staging-$VERSION"
zip -r "dosbox-staging-$VERSION.zip" "dosbox-staging-$VERSION"
- name: Upload tarball
uses: actions/upload-artifact@master
# GitHub automatically zips the artifacts (there's no way to create
# a tarball), and it removes all executable flags while zipping.
# Letting it zip a tarball preserves flags in the compressed files.
with:
name: dosbox-staging-linux-x86_64
path: dosbox-staging-${{ env.VERSION }}.tar.xz
name: dosbox-staging-${{ env.VERSION }}
path: dosbox-staging-${{ env.VERSION }}.zip