mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08: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:
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
|
||||
|
||||
# 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'
|
||||
with:
|
||||
tag_name: ${{ env.COMMIT_SHA }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Matrix:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
|
||||
Reference in New Issue
Block a user