WORKFLOW: tentative solution for PRs - try#8 [skip ci]

This commit is contained in:
XargonWan 2024-08-25 20:56:43 +09:00
parent dac75b31b2
commit de743a3e23

View file

@ -5,17 +5,16 @@ 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: pull_request:
# Italy (CET): 11:00 PM # Italy (CET): 11:00 PM
@ -32,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
@ -53,9 +52,7 @@ jobs:
- name: Clone RetroDECK repo - name: Clone RetroDECK repo
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0
submodules: 'true' submodules: 'true'
ref: ${{ github.sha }}
- name: "Install dependencies" - name: "Install dependencies"
run: "automation_tools/install_dependencies.sh" run: "automation_tools/install_dependencies.sh"