diff --git a/.github/workflows/build_mame.yml b/.github/workflows/build_mame.yml index 1dc67f6..725af5a 100644 --- a/.github/workflows/build_mame.yml +++ b/.github/workflows/build_mame.yml @@ -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