WORKFLOW: re-enabling actual build

This commit is contained in:
XargonWan 2024-01-23 10:23:39 +01:00
parent 4ce2c9769e
commit c3b8bec43b

View file

@ -34,24 +34,24 @@ jobs:
- name: "[DEBUG] Outputting manifest"
run: cat net.retrodeck.mame.yml
# - name: "Build flatpak"
# id: "flatpak-download"
# run: |
# flatpak-builder --user --force-clean \
# --install-deps-from=flathub \
# --install-deps-from=flathub-beta \
# --repo=${GITHUB_WORKSPACE}/mame-repo \
# "${GITHUB_WORKSPACE}"/mame-build-dir \
# net.retrodeck.mame.yml
- name: "Build flatpak"
id: "flatpak-download"
run: |
flatpak-builder --user --force-clean \
--install-deps-from=flathub \
--install-deps-from=flathub-beta \
--repo=${GITHUB_WORKSPACE}/mame-repo \
"${GITHUB_WORKSPACE}"/mame-build-dir \
net.retrodeck.mame.yml
# - name: Create Artifact for RetroDECK
# run: |
# tar -czf ${GITHUB_WORKSPACE}/RetroDECK-MAME-Artifact.tar.gz -C ${GITHUB_WORKSPACE}/mame-repo .
# hash=($(sha256sum ${GITHUB_WORKSPACE}/RetroDECK-MAME-Artifact.tar.gz))
# echo $hash > ${GITHUB_WORKSPACE}/RetroDECK-Artifact-cooker.sha
# mv -f RetroDECK-Artifact-cooker.* ${{ secrets.ARTIFACT_REPO }}
# continue-on-error: true
# timeout-minutes: 1440
- name: Create Artifact for RetroDECK
run: |
tar -czf ${GITHUB_WORKSPACE}/RetroDECK-MAME-Artifact.tar.gz -C ${GITHUB_WORKSPACE}/mame-repo .
hash=($(sha256sum ${GITHUB_WORKSPACE}/RetroDECK-MAME-Artifact.tar.gz))
echo $hash > ${GITHUB_WORKSPACE}/RetroDECK-Artifact-cooker.sha
mv -f RetroDECK-Artifact-cooker.* ${{ secrets.ARTIFACT_REPO }}
continue-on-error: true
timeout-minutes: 1440
- name: Set environment variable with current branch name
run: echo "GITHUB_REF_SLUG=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV