From a52b908ef027a9f54d587f5fc5dfbcc1c7fb5a42 Mon Sep 17 00:00:00 2001 From: Erik Olof Gunnar Andersson Date: Sat, 12 Oct 2024 00:58:05 +0200 Subject: [PATCH] Prevent automatic builds from going live accidently --- .github/workflows/release-factory.yml | 1 + .github/workflows/release.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/release-factory.yml b/.github/workflows/release-factory.yml index f505b58..d3e26f7 100644 --- a/.github/workflows/release-factory.yml +++ b/.github/workflows/release-factory.yml @@ -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" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a2c515..255147d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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