We now fetch only the current commit for jobs that don't need the git
history. For the Prerelease job, we don't checkout the code at all.
closes https://github.com/official-stockfish/Stockfish/pull/4779
No functional change
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
- with:
- fetch-depth: 0
-
# returns null if no pre-release exists
- name: Get Commit SHA of Latest Pre-release
run: |
shell: ${{ matrix.config.shell }}
steps:
- uses: actions/checkout@v3
- with:
- fetch-depth: 0
- name: Setup msys and install required packages
if: runner.os == 'Windows'
shell: ${{ matrix.config.shell }}
steps:
- uses: actions/checkout@v3
- with:
- fetch-depth: 0
- name: Download required linux packages
run: |