mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Merge branch 'cooker' of https://github.com/monkeyx-net/RetroDECK_UK into cooker
This commit is contained in:
commit
e183bfd34d
16
.github/workflows/cooker-selfhosted.yml
vendored
16
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -5,19 +5,17 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- cooker*
|
- cooker*
|
||||||
- feat*
|
- feat*
|
||||||
|
- branch/cooker*
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/**'
|
- '.github/workflows/**'
|
||||||
- 'automation_tools/**'
|
- 'automation_tools/**'
|
||||||
- 'config/**'
|
- 'config/**'
|
||||||
- 'config/es-de/**'
|
|
||||||
- 'functions/**'
|
- 'functions/**'
|
||||||
- 'rd-submodules/**'
|
- 'rd-submodules/**'
|
||||||
- '*.sh'
|
- '*.sh'
|
||||||
- 'net.retrodeck.retrodeck.yml'
|
- 'net.retrodeck.retrodeck.yml'
|
||||||
- 'net.retrodeck.retrodeck.appdata.xml'
|
- 'net.retrodeck.retrodeck.appdata.xml'
|
||||||
pull_request_target:
|
pull_request:
|
||||||
branches:
|
|
||||||
- cooker*
|
|
||||||
|
|
||||||
# Italy (CET): 11:00 PM
|
# Italy (CET): 11:00 PM
|
||||||
# Japan (JST): 7:00 AM
|
# Japan (JST): 7:00 AM
|
||||||
|
@ -33,7 +31,7 @@ jobs:
|
||||||
|
|
||||||
Building_RetroDECK:
|
Building_RetroDECK:
|
||||||
runs-on: retrodeck
|
runs-on: retrodeck
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Circumventing this bug: https://github.com/flatpak/flatpak-builder/issues/317
|
# Circumventing this bug: https://github.com/flatpak/flatpak-builder/issues/317
|
||||||
- name: Remove stuck mounts
|
- name: Remove stuck mounts
|
||||||
|
@ -55,12 +53,6 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: 'true'
|
submodules: 'true'
|
||||||
|
|
||||||
- name: Checkout PR branch (include changes)
|
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
|
||||||
run: |
|
|
||||||
git fetch origin +refs/pull/${{ github.event.pull_request.number }}/merge
|
|
||||||
git checkout -qf FETCH_HEAD
|
|
||||||
|
|
||||||
- name: "Install dependencies"
|
- name: "Install dependencies"
|
||||||
run: "automation_tools/install_dependencies.sh"
|
run: "automation_tools/install_dependencies.sh"
|
||||||
|
@ -97,7 +89,7 @@ jobs:
|
||||||
echo "[DEBUG] source branch is: $source_branch"
|
echo "[DEBUG] source branch is: $source_branch"
|
||||||
|
|
||||||
# Generate the tag for a pull request
|
# Generate the tag for a pull request
|
||||||
echo "TAG=PR-$GITHUB_RUN_ID-$source_branch-${{ env.buildid }}" >> $GITHUB_ENV
|
echo "TAG=PR-$source_branch-${{ env.buildid }}" >> $GITHUB_ENV
|
||||||
echo "MAKE_LATEST=false" >> $GITHUB_ENV # Not marked as the latest cooker version if it's a feature branch
|
echo "MAKE_LATEST=false" >> $GITHUB_ENV # Not marked as the latest cooker version if it's a feature branch
|
||||||
else
|
else
|
||||||
# Generate the tag for non-pull request branches
|
# Generate the tag for non-pull request branches
|
||||||
|
|
Loading…
Reference in a new issue