ci: chown build/out before split (container created as root)
This commit is contained in:
parent
c18d47411e
commit
ec210c768f
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build-iso.yml
vendored
3
.github/workflows/build-iso.yml
vendored
|
|
@ -176,6 +176,9 @@ jobs:
|
|||
- name: Split ISO into 2GiB chunks
|
||||
if: success() && github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
# ISO + sidecars created by Fedora container as root. Reclaim
|
||||
# ownership so this step (running as runner user) can write.
|
||||
sudo chown -R "$(id -u):$(id -g)" build/out
|
||||
cd build/out
|
||||
ISO=$(ls *.iso | head -1)
|
||||
[ -n "$ISO" ] || { echo "[ERR] no ISO"; exit 1; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue