mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08:00
Cleanup git checkout actions
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
This commit is contained in:
committed by
Disservin
parent
1461d861c8
commit
46a5cedc11
4
.github/workflows/stockfish.yml
vendored
4
.github/workflows/stockfish.yml
vendored
@@ -16,10 +16,6 @@ jobs:
|
||||
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: |
|
||||
|
||||
2
.github/workflows/stockfish_compile_test.yml
vendored
2
.github/workflows/stockfish_compile_test.yml
vendored
@@ -52,8 +52,6 @@ jobs:
|
||||
shell: ${{ matrix.config.shell }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup msys and install required packages
|
||||
if: runner.os == 'Windows'
|
||||
|
||||
2
.github/workflows/stockfish_sanitizers.yml
vendored
2
.github/workflows/stockfish_sanitizers.yml
vendored
@@ -36,8 +36,6 @@ jobs:
|
||||
shell: ${{ matrix.config.shell }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Download required linux packages
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user