Skip to content

Commit 8812097

Browse files
committed
add release workflow (npm publishing)
1 parent b15fc43 commit 8812097

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 🚀 Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: New version semver
8+
required: true
9+
type: string
10+
tag:
11+
description: NPM tag
12+
required: false
13+
type: string
14+
default: 'latest'
15+
16+
permissions:
17+
contents: write
18+
id-token: write
19+
20+
jobs:
21+
from-template:
22+
uses: Unleash/.github/.github/workflows/npm-release.yml@v3.0.1
23+
with:
24+
version: ${{ github.event.inputs.version }}
25+
tag: ${{ github.event.inputs.tag }}
26+
secrets:
27+
UNLEASH_BOT_APP_ID: ${{ secrets.UNLEASH_BOT_APP_ID }}
28+
UNLEASH_BOT_PRIVATE_KEY: ${{ secrets.UNLEASH_BOT_PRIVATE_KEY }}

0 commit comments

Comments
 (0)