Skip to content

Commit

Permalink
Update CICD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zwpaper authored Dec 19, 2023
1 parent 75134ed commit bbdf537
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,9 @@ jobs:
zstd -d < control.tar.zst | xz > control.tar.xz
zstd -d < data.tar.zst | xz > data.tar.xz
# Re-create the Debian package in /tmp/
ar -m -c -a sdsd $(echo ${{ steps.vars.outputs.DPKG_NAME }} | sed 's/.deb/_legacy.deb/g') debian-binary control.tar.xz data.tar.xz
legacy_deb="$(echo ${{ steps.vars.outputs.DPKG_NAME }} | sed 's/.deb/_legacy.deb/g')"
ar -m -c -a sdsd ${legacy_deb} debian-binary control.tar.xz data.tar.xz
mv ${legacy_deb} ${{ steps.vars.outputs.STAGING }}/
# Clean up
rm debian-binary control.tar.xz data.tar.xz control.tar.zst data.tar.zst
fi
Expand All @@ -273,7 +275,7 @@ jobs:
with:
files: |
${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_NAME }}
${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.DPKG_NAME }}
${{ steps.vars.outputs.STAGING }}/*.deb
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit bbdf537

Please sign in to comment.