Prevent automatic builds from going live accidently

This commit is contained in:
Erik Olof Gunnar Andersson 2024-10-12 00:58:05 +02:00
parent d3dd63cc86
commit a52b908ef0
2 changed files with 3 additions and 0 deletions

View File

@ -51,4 +51,5 @@ jobs:
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: true
files: "esp-miner-factory-${{ matrix.build_type }}-${{ github.ref_name }}.bin"

View File

@ -53,9 +53,11 @@ jobs:
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: true
files: ./build/www.bin
- name: Release esp-miner.bin
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: true
files: ./build/esp-miner.bin