-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 992 Bytes
/
release.yml
File metadata and controls
39 lines (33 loc) · 992 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
name: Build and release
on:
workflow_dispatch:
inputs:
tag:
description: 'Tag for this release'
required: true
type: string
jobs:
build:
name: Build and release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build
run: bun run build
- name: Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: React DevTools ${{ github.event.inputs.tag }}
tag_name: ${{ github.event.inputs.tag }}
files: |
dist/index.js
dist/index.bundle