mirror of
https://github.com/RetroDECK/additional-libraries.git
synced 2024-11-25 12:35:38 +00:00
Migrating to a common module manifest
This commit is contained in:
parent
b7cf5e87ba
commit
922ae2ff77
18
.github/workflows/build_manifest.yml
vendored
18
.github/workflows/build_manifest.yml
vendored
|
@ -29,10 +29,10 @@ jobs:
|
|||
run: "automation_tools/install_dependencies.sh"
|
||||
|
||||
- name: "Creating manifest manifest"
|
||||
run: "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/update_manifest_manifest.sh"
|
||||
run: "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/update_manifest.sh"
|
||||
|
||||
- name: "[DEBUG] Outputting manifest"
|
||||
run: cat net.retrodeck.manifest.yml
|
||||
run: cat net.retrodeck.module.yml
|
||||
|
||||
- name: "Build flatpak"
|
||||
id: "flatpak-download"
|
||||
|
@ -40,9 +40,9 @@ jobs:
|
|||
flatpak-builder --user --force-clean \
|
||||
--install-deps-from=flathub \
|
||||
--install-deps-from=flathub-beta \
|
||||
--repo=${GITHUB_WORKSPACE}/manifest-repo \
|
||||
"${GITHUB_WORKSPACE}"/manifest-build-dir \
|
||||
net.retrodeck.manifest.yml
|
||||
--repo=${GITHUB_WORKSPACE}/module-repo \
|
||||
"${GITHUB_WORKSPACE}"/module-build-dir \
|
||||
net.retrodeck.module.yml
|
||||
|
||||
- name: "Exporting dir tree"
|
||||
id: tree
|
||||
|
@ -50,8 +50,8 @@ jobs:
|
|||
|
||||
- name: Create Artifact for RetroDECK
|
||||
run: |
|
||||
tar -czf ${GITHUB_WORKSPACE}/RetroDECK-manifest-Artifact.tar.gz -C ${GITHUB_WORKSPACE}/manifest-build-dir .
|
||||
hash=($(sha256sum ${GITHUB_WORKSPACE}/RetroDECK-manifest-Artifact.tar.gz))
|
||||
tar -czf ${GITHUB_WORKSPACE}/RetroDECK-module-Artifact.tar.gz -C ${GITHUB_WORKSPACE}/manifest-build-dir .
|
||||
hash=($(sha256sum ${GITHUB_WORKSPACE}/RetroDECK-module-Artifact.tar.gz))
|
||||
echo $hash > ${GITHUB_WORKSPACE}/RetroDECK-Artifact-cooker.sha
|
||||
mv -f RetroDECK-Artifact-cooker.* ${{ secrets.ARTIFACT_REPO }}
|
||||
continue-on-error: true
|
||||
|
@ -74,10 +74,10 @@ jobs:
|
|||
tag: "${{env.BRANCH_NAME}}-${{env.DATE}}"
|
||||
body: |
|
||||
# Release Notes
|
||||
These are the artifact of RetroDECK manifest, commit: ${{ github.event.repository.full_name }}@${{github.sha}}.
|
||||
These are the artifact of this RetroDECK module, commit: ${{ github.event.repository.full_name }}@${{github.sha}}.
|
||||
On branch [${{env.BRANCH_NAME}}](https://github.com/XargonWan/RetroDECK-manifest/tree/${{env.BRANCH_NAME}}).
|
||||
|
||||
artifacts: "RetroDECK-manifest-Artifact.tar.gz, tree.html"
|
||||
artifacts: "RetroDECK-module-Artifact.tar.gz, tree.html"
|
||||
allowUpdates: true
|
||||
makeLatest: true
|
||||
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Do not edit `net.retrodeck.module.yml` nor `manifest-header.yml`:
|
||||
|
||||
These files are automatically generated by `automation_tools/update_module_manifest.sh`.
|
||||
These files are automatically generated by `automation_tools/update_manifest.sh`.
|
||||
|
||||
`manifest-header.yml` is generated from the RetroDECK manifest itself, mind that:
|
||||
- any changes to `net.retrodeck.module.yml` will be discarded.
|
||||
|
|
Loading…
Reference in a new issue