Skip to content

Commit 610a09a

Browse files
committed
chore(release): update GitHub Actions workflow to use workflow_dispatch trigger and clean up formatting
1 parent 27a3313 commit 610a09a

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
name: Release
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
- next
8-
paths-ignore:
9-
- 'docs/**'
4+
workflow_dispatch:
105

116
permissions:
127
contents: read
138

149
concurrency:
15-
group: ${{ github.workflow }}-${{ github.ref }}
16-
cancel-in-progress: true
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
1712

1813
jobs:
1914
release:
@@ -37,17 +32,17 @@ jobs:
3732
id: bun-cache
3833
uses: actions/cache@v4
3934
with:
40-
path: ~/.bun/install/cache
41-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
42-
restore-keys: |
43-
${{ runner.os }}-bun-
44-
35+
path: ~/.bun/install/cache
36+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
37+
restore-keys: |
38+
${{ runner.os }}-bun-
39+
4540
- name: Install npm dependencies (bun)
4641
run: bun install
4742

4843
- name: Build lib
4944
run: bun run build
50-
45+
5146
- name: Release
5247
env:
5348
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)