Skip to content

Commit f155b05

Browse files
committed
[ change ][ ci ] Create dev release on either dev or ci branches
1 parent 60433b1 commit f155b05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ jobs:
310310

311311
# dev release (optional)
312312
- name: 🚢 Create/Update Dev Release
313-
if: github.ref == 'refs/heads/dev' && matrix.agda == 'Agda-2.8.0' && matrix.os == 'ubuntu-latest'
313+
if: (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci') && matrix.agda == 'Agda-2.8.0' && matrix.os == 'ubuntu-latest'
314314
env:
315315
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
316316
run: |
@@ -329,15 +329,15 @@ jobs:
329329
--prerelease
330330
331331
- name: 📤 Upload artifacts to dev release
332-
if: github.ref == 'refs/heads/dev' && matrix.agda == 'Agda-2.8.0'
332+
if: (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci') && matrix.agda == 'Agda-2.8.0'
333333
env:
334334
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
335335
run: |
336336
gh release upload dev $ARTEFACT.zip --clobber
337337
338338
build-wasm:
339339
name: Build WASM
340-
if: github.ref == 'refs/heads/dev'
340+
if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci'
341341
runs-on: ubuntu-22.04
342342

343343
env:

0 commit comments

Comments
 (0)