Skip to content

Commit

Permalink
WORKFLOW: re-enabling actual build
Browse files Browse the repository at this point in the history
  • Loading branch information
XargonWan committed Jan 23, 2024
1 parent 4ce2c97 commit c3b8bec
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/build_mame.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 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: "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: Set environment variable with current branch name
run: echo "GITHUB_REF_SLUG=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
Expand Down

0 comments on commit c3b8bec

Please sign in to comment.