-
Notifications
You must be signed in to change notification settings - Fork 22
28 lines (26 loc) · 914 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: CI
on:
push:
branches: moonc-version-dont-delete
jobs:
hello:
runs-on: ubuntu-latest
steps:
- run: echo "Hello, world!"
- run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/moonbitlang/moon/actions/workflows/test-on-main.yml/dispatches \
-d '{"ref":"main"}'
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/moonbitlang/moon/actions/workflows/bleeding-release.yml/dispatches \
-d '{"ref":"main"}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}