Skip to content

Commit 6df3d06

Browse files
committed
replace CI with simple build and downstream notify
1 parent 4e0a389 commit 6df3d06

File tree

4 files changed

+36
-472
lines changed

4 files changed

+36
-472
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [kotlin]
6+
pull_request:
7+
branches: [kotlin]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
submodules: true
20+
21+
- name: Install Rust
22+
run: rustup update stable --no-self-update && rustup default stable
23+
24+
- run: cargo build
25+
26+
notify-downstream:
27+
needs: build
28+
if: github.event_name == 'push'
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: peter-evans/repository-dispatch@v3
32+
with:
33+
token: ${{ secrets.CROSS_REPO_PAT }}
34+
repository: Kotlin/hyperlight-wasm-http-example
35+
event-type: upstream-changed
36+
client-payload: '{"repo": "${{ github.repository }}", "sha": "${{ github.sha }}"}'

.github/workflows/main.yml

Lines changed: 0 additions & 286 deletions
This file was deleted.

0 commit comments

Comments
 (0)