mirror of
https://github.com/RetroDECK/MAME.git
synced 2024-11-25 06:05:37 +00:00
WORKFLOW: re-enabling actual build
This commit is contained in:
parent
4ce2c9769e
commit
c3b8bec43b
34
.github/workflows/build_mame.yml
vendored
34
.github/workflows/build_mame.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue