diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index f996206e..bcf07ceb 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -55,7 +55,10 @@ jobs: - name: Clone RetroDECK repo uses: actions/checkout@v4 with: - submodules: 'true' + fetch-depth: 5 # Fetch the last 5 commits; adjust as needed + submodules: true # Fetch submodules + submodule-fetch-depth: 5 # Fetch the last 5 commits of submodules + ref: ${{ github.ref }} # Ensure the current branch is checked out # Install Dependencies - name: Install dependencies