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 a2829d1 commit e8eb039
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ 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}
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 /result/"iso/*"; do
gh release upload "${{ github.ref }}" "${artefact}" --clobber
done
- name: Publish
Expand Down

0 comments on commit e8eb039

Please sign in to comment.