mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Update CI actions
- Update codeql to v3 - Switch from dev-drprasad to native github cli - Update softprops/action-gh-release to node 20 commit `thollander/actions-comment-pull-request` needs to be bumped to node20 too, but the author hasnt done so atm closes https://github.com/official-stockfish/Stockfish/pull/5044 No functional change
This commit is contained in:
parent
9699f4f79a
commit
21dff6c276
3 changed files with 7 additions and 7 deletions
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v3
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
|
@ -48,6 +48,6 @@ jobs:
|
||||||
run: make -j build ARCH=x86-64-modern
|
run: make -j build ARCH=x86-64-modern
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v2
|
uses: github/codeql-action/analyze@v3
|
||||||
with:
|
with:
|
||||||
category: "/language:${{matrix.language}}"
|
category: "/language:${{matrix.language}}"
|
||||||
|
|
8
.github/workflows/stockfish.yml
vendored
8
.github/workflows/stockfish.yml
vendored
|
@ -26,11 +26,11 @@ jobs:
|
||||||
echo "COMMIT_SHA=$(jq -r 'map(select(.prerelease)) | first | .tag_name' <<< $(curl -s https://api.github.com/repos/${{ github.repository_owner }}/Stockfish/releases))" >> $GITHUB_ENV
|
echo "COMMIT_SHA=$(jq -r 'map(select(.prerelease)) | first | .tag_name' <<< $(curl -s https://api.github.com/repos/${{ github.repository_owner }}/Stockfish/releases))" >> $GITHUB_ENV
|
||||||
|
|
||||||
# delete old previous pre-release and tag
|
# delete old previous pre-release and tag
|
||||||
- uses: dev-drprasad/delete-tag-and-release@8cd619d00037e4aeb781909c9a6b03940507d0da # @v1.0.1
|
- uses: actions/checkout@v4
|
||||||
|
- run: gh release delete ${{ env.COMMIT_SHA }} --cleanup-tag
|
||||||
if: env.COMMIT_SHA != 'null'
|
if: env.COMMIT_SHA != 'null'
|
||||||
with:
|
env:
|
||||||
tag_name: ${{ env.COMMIT_SHA }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
Matrix:
|
Matrix:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
|
|
2
.github/workflows/upload_binaries.yml
vendored
2
.github/workflows/upload_binaries.yml
vendored
|
@ -74,7 +74,7 @@ jobs:
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
if: startsWith(github.ref_name, 'sf_') && github.ref_type == 'tag'
|
if: startsWith(github.ref_name, 'sf_') && github.ref_type == 'tag'
|
||||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # @v1
|
uses: softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981
|
||||||
with:
|
with:
|
||||||
files: stockfish-${{ matrix.config.simple_name }}-${{ matrix.binaries }}.${{ matrix.config.archive_ext }}
|
files: stockfish-${{ matrix.config.simple_name }}-${{ matrix.binaries }}.${{ matrix.config.archive_ext }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue