CI: split files into chunks of 2GBs which is the maximum limit for release files
This commit is contained in:
parent
3dbdcb90fa
commit
bf21f20d9e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/CI.yml
vendored
4
.github/workflows/CI.yml
vendored
|
|
@ -14,11 +14,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
for iso in $(nix flake show --json | nix run nixpkgs#jq -- -r keys[]); do
|
for iso in $(nix flake show --json | nix run nixpkgs#jq -- -r keys[]); do
|
||||||
nix build .#$iso
|
nix build .#$iso
|
||||||
cp result/iso/*.iso $iso.iso
|
split -d result/iso/*.iso -b 2G $iso.iso-part-
|
||||||
rm result
|
rm result
|
||||||
done
|
done
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '.')
|
if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '.')
|
||||||
with:
|
with:
|
||||||
files: "*.iso"
|
files: "*.iso-part-*"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue