mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00:00
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:
committed by
Joost VandeVondele
parent
b60738e01b
commit
295f57829e
@@ -115,6 +115,8 @@ jobs:
|
||||
cp "Top CPU Contributors.txt" stockfish/
|
||||
cp Copying.txt stockfish/
|
||||
cp AUTHORS stockfish/
|
||||
cp CITATION.cff stockfish/
|
||||
cp README.md stockfish/
|
||||
tar -cvf stockfish-android-$BINARY.tar stockfish
|
||||
|
||||
- name: Upload binaries
|
||||
@@ -122,3 +124,9 @@ jobs:
|
||||
with:
|
||||
name: stockfish-android-${{ matrix.binaries }}
|
||||
path: stockfish-android-${{ matrix.binaries }}.tar
|
||||
|
||||
- name: Release
|
||||
if: startsWith(github.ref_name, 'sf_') && github.ref_type == 'tag'
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: stockfish-android-${{ matrix.binaries }}.tar
|
||||
Reference in New Issue
Block a user