small fixes
This commit is contained in:
parent
a0f1ac5bb5
commit
2e4e18c9e7
1 changed files with 7 additions and 4 deletions
|
|
@ -119,9 +119,11 @@ jobs:
|
||||||
| to_entries[]
|
| to_entries[]
|
||||||
| select(.key != "root")
|
| select(.key != "root")
|
||||||
| "* \(.key): \(.value.locked.url // ("github:\(.value.locked.owner)/\(.value.locked.repo)")) @ \(.value.locked.rev)"
|
| "* \(.key): \(.value.locked.url // ("github:\(.value.locked.owner)/\(.value.locked.repo)")) @ \(.value.locked.rev)"
|
||||||
' <<< "$(cat metadata.json)" | sed ':a;N;$!ba;s/\n/\\n/g')
|
' <<< "$(nix flake metadata --json)")
|
||||||
|
|
||||||
echo "metadata=$META" >> "$GITHUB_OUTPUT"
|
echo "metadata<<EOF" >> "$GITHUB_OUTPUT"
|
||||||
|
echo "$META" >> "$GITHUB_OUTPUT"
|
||||||
|
echo "EOF" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Upload Release Artifact
|
- name: Upload Release Artifact
|
||||||
id: release-artifact
|
id: release-artifact
|
||||||
|
|
@ -136,7 +138,7 @@ jobs:
|
||||||
uses: forgejo/upload-artifact@v4
|
uses: forgejo/upload-artifact@v4
|
||||||
if: ${{ steps.build_image.outputs.image_path_from_build }}
|
if: ${{ steps.build_image.outputs.image_path_from_build }}
|
||||||
with:
|
with:
|
||||||
name: build-artifact
|
name: image-artifact
|
||||||
path: ${{ steps.build_image.outputs.image_path_from_build }}
|
path: ${{ steps.build_image.outputs.image_path_from_build }}
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
|
@ -179,7 +181,8 @@ jobs:
|
||||||
|
|
||||||
**🔗 Build Results:**
|
**🔗 Build Results:**
|
||||||
[View Build Logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }})
|
[View Build Logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }})
|
||||||
[Download Build Artifact](${{ needs.build.outputs.image-url }})
|
[Download Image](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}/artifact/image-artifact)
|
||||||
|
[Download Image (action generated url)](${{ needs.build.outputs.image-url }})
|
||||||
|
|
||||||
**🔐 Flake Revision:**
|
**🔐 Flake Revision:**
|
||||||
`${{ github.sha }}`
|
`${{ github.sha }}`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue