File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ jobs:
144
144
145
145
release :
146
146
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') }}
148
148
runs-on : ubuntu-latest
149
149
needs : [test]
150
150
permissions :
@@ -163,21 +163,7 @@ jobs:
163
163
ls -R artifacts
164
164
find artifacts -name '*.bin' -exec mv {} artifacts/ \;
165
165
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
-
179
166
- name : Release
180
- if : ${{ startsWith(github.ref, 'refs/tags/v') }}
181
167
uses : softprops/action-gh-release@v2
182
168
with :
183
169
files : |
You can’t perform that action at this time.
0 commit comments