Skip to content

Commit 92cac14

Browse files
committed
fix GHAPH
1 parent ff6f0fa commit 92cac14

1 file changed

Lines changed: 28 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,36 @@
1-
name: Rust-Build
1+
name: Build Package CI
2+
23
on:
34
push:
4-
branches:
5-
- main
5+
branches: [main]
66
pull_request:
7-
types: [opened, synchronize, reopened]
7+
types: [opened, synchronize, opened]
8+
workflow_dispatch:
9+
inputs:
10+
beta_release:
11+
description: Create beta release
12+
type: boolean
13+
default: false
14+
required: false
15+
16+
env:
17+
NODE_VERSION: "22"
18+
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && 'main' || github.head_ref }}
21+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
822

923
jobs:
24+
optimize_ci:
25+
runs-on: ubuntu-latest
26+
outputs:
27+
skip: ${{ steps.check_skip.outputs.skip }}
28+
steps:
29+
- uses: withgraphite/graphite-ci-action@main
30+
id: check_skip
31+
with:
32+
graphite_token: ${{ secrets.GRAPHITE_TOKEN }}
33+
1034
check:
1135
name: Check
1236
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)