Skip to content

Commit

Permalink
something
Browse files Browse the repository at this point in the history
  • Loading branch information
oomfiee committed Sep 28, 2024
1 parent 5628078 commit a2829d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
nix build .#iso --accept-flake-config
mkdir iso || true
ISO=$(head -n1 result/nix-support/hydra-build-products | cut -d'/' -f6)
sudo mv "result/iso/${ISO}" iso/${ISO}
sudo mv "./result/iso/${ISO}" iso/${ISO}
sha256sum "iso/${ISO}" > "iso/${ISO}.sha256"
sed -i -r "s/ .*\/(.+)/ \1/g" "iso/${ISO}.sha256"
ls -la
- name: Upload
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
for artefact in "./iso/*"; do
for artefact in ./"iso/*"; do
gh release upload "${{ github.ref }}" "${artefact}" --clobber
done
- name: Publish
Expand Down

0 comments on commit a2829d1

Please sign in to comment.