Skip to content

Commit

Permalink
Split Conty in the autorelease workflow if necessary
Browse files Browse the repository at this point in the history
Since it's not allowed to upload assets larger than 2 GB, let's split them into multiple pieces.
  • Loading branch information
Kron4ek committed Jul 28, 2023
1 parent e17d34d commit 90f0bfb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/conty-autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
sed -i 's/sed/#sed/g' create-arch-bootstrap.sh
sudo ./create-arch-bootstrap.sh && ./create-conty.sh
if [ "$(stat -c%s conty.sh)" -gt 2097152000 ]; then
split -b 2097152000 --numeric-suffixes=1 conty.sh conty.sh_part
rm conty.sh
fi
- uses: dev-drprasad/[email protected]
with:
tag_name: continuous
Expand All @@ -29,7 +34,7 @@ jobs:

- uses: softprops/action-gh-release@v1
with:
files: conty.sh
files: ./conty.sh*
prerelease: true
draft: false
tag_name: continuous
Expand Down

0 comments on commit 90f0bfb

Please sign in to comment.