This commit is contained in:
parent
6cca377d2f
commit
c53d4a98fb
1 changed files with 7 additions and 5 deletions
|
|
@ -24,15 +24,17 @@ jobs:
|
||||||
- name: Verify build
|
- name: Verify build
|
||||||
run: file tux-dock
|
run: file tux-dock
|
||||||
|
|
||||||
- name: Prepare artifact directory
|
- name: Package build as tar
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build/${{ github.ref_name }}
|
mkdir -p build/${{ github.ref_name }}
|
||||||
|
chmod +x tux-dock
|
||||||
mv tux-dock build/${{ github.ref_name }}/
|
mv tux-dock build/${{ github.ref_name }}/
|
||||||
echo "📁 Prepared build directory: build/${{ github.ref_name }}/tux-dock"
|
tar czf tux-dock-linux-x86_64-${{ github.ref_name }}.tar.gz -C build ${ { github.ref_name } }
|
||||||
|
echo "📦 Created tarball with preserved permissions"
|
||||||
- name: Upload build artifact
|
- name: Upload build artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: tux-dock-linux-x86_64
|
name: tux-dock-linux-x86_64-${{ github.ref_name }}
|
||||||
path: build/
|
path: tux-dock-linux-x86_64-${{ github.ref_name }}.tar.gz
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue