Skip to content

Commit 4cf49a3

Browse files
committed
Do not add pre-release builds
1 parent 6f34dd2 commit 4cf49a3

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
145145
release:
146146
name: Release
147-
if: ${{ github.repository_owner == 'mathieucarbou' && github.event_name != 'pull_request' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') ) }}
147+
if: ${{ github.repository_owner == 'mathieucarbou' && github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
148148
runs-on: ubuntu-latest
149149
needs: [test]
150150
permissions:
@@ -163,21 +163,7 @@ jobs:
163163
ls -R artifacts
164164
find artifacts -name '*.bin' -exec mv {} artifacts/ \;
165165
166-
- name: Pre-Release
167-
if: ${{ github.ref == 'refs/heads/main' }}
168-
uses: mathieucarbou/marvinpinto-action-automatic-releases@latest
169-
with:
170-
repo_token: "${{ secrets.ACCESS_TOKEN }}"
171-
automatic_release_tag: latest
172-
prerelease: true
173-
title: Pre-release Builds
174-
files: |
175-
artifacts/*.bin
176-
tools/factory.py
177-
tools/safeboot.py
178-
179166
- name: Release
180-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
181167
uses: softprops/action-gh-release@v2
182168
with:
183169
files: |

0 commit comments

Comments
 (0)