diff --git a/.forgejo/workflows/process_subways.yml b/.forgejo/workflows/process_subways.yml index 239073773..3939d5ae4 100644 --- a/.forgejo/workflows/process_subways.yml +++ b/.forgejo/workflows/process_subways.yml @@ -28,8 +28,13 @@ jobs: - uses: actions/cache@v4 with: path: "~" - key: cache-${{ github.run_id }}-${{ github.run_attempt }} - - name: Checkout subways repo + key: cache-${{ github.run_id }}-${{ github.run_attempt }}} + - name: Checkout main repo + shell: bash + run: | + echo "Cloning $FORGEJO_SERVER_URL/$FORGEJO_REPOSITORY branch $FORGEJO_REF_NAME" + cd ~ + git clone --depth 1 --recurse-submodules --shallow-submodules -b $FORGEJO_REF_NAME --single-branch $FORGEJO_SERVER_URL/$FORGEJO_REPOSITORY.git comaps - name: Checkout subways repo shell: bash run: | cd ~