Add binaries to releases with github actions

when a release is made with a tag matching sf_* the binaries will also be uploaded to the release as assets.

closes https://github.com/official-stockfish/Stockfish/pull/4596

No functional change.
This commit is contained in:
disservin
2023-04-17 22:16:22 +02:00
committed by Joost VandeVondele
parent b60738e01b
commit 295f57829e
3 changed files with 30 additions and 11 deletions
+4 -2
View File
@@ -1,6 +1,8 @@
name: Stockfish
on:
push:
tags:
- '*'
branches:
- master
- tools
@@ -17,8 +19,8 @@ jobs:
Compiles:
uses: ./.github/workflows/stockfish_compile_test.yml
Binaries:
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || (startsWith(github.ref_name, 'sf_') && github.ref_type == 'tag')
uses: ./.github/workflows/stockfish_binaries.yml
ARM_Binaries:
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || (startsWith(github.ref_name, 'sf_') && github.ref_type == 'tag')
uses: ./.github/workflows/stockfish_arm_binaries.yml