Adding sha to artifacts + printing tree

This commit is contained in:
XargonWan 2024-11-05 22:21:46 +09:00
parent 08b382f91e
commit 8763718a11

View file

@ -80,6 +80,7 @@ jobs:
- name: "Exporting dir tree"
id: tree
run: |
tree .
tree -H ./ > ${GITHUB_WORKSPACE}/tree.html
echo "Directory tree exported to tree.html"
@ -112,7 +113,7 @@ jobs:
# Release Notes
These are the artifacts for RetroDECK from ${{ github.repository }}, built from commit: ${{ github.repository }}@${{ github.sha }}.
On branch [${{ github.ref_name }}](https://github.com/${{ github.repository }}/tree/${{ github.ref_name }}).
artifacts: "${GITHUB_WORKSPACE}/RetroDECK-Artifact.tar.gz, ${GITHUB_WORKSPACE}/tree.html"
artifacts: "${GITHUB_WORKSPACE}/RetroDECK-Artifact.tar.gz, ${GITHUB_WORKSPACE}/tree.html, ${GITHUB_WORKSPACE}/RetroDECK-Artifact-cooker.sha"
allowUpdates: true
makeLatest: true
token: ${{ steps.generate-rekku-token.outputs.token || secrets.TRIGGER_BUILD_TOKEN || secrets.GITHUB_TOKEN }}