Skip to content

Commit fefe60f

Browse files
committed
Realease action fix
1 parent 6943c15 commit fefe60f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
push:
55
tags:
66
- '*'
7+
workflow_dispatch:
8+
inputs:
9+
manual:
10+
description: Manually trigger regular release?
11+
default: regular
12+
required: true
713

814
jobs:
915
release:
@@ -34,7 +40,12 @@ jobs:
3440
- name: Build
3541
run: pnpm build
3642

43+
- working-directory: 'dist'
44+
run: |
45+
ls -l
46+
3747
- name: Publish to npm
3848
uses: tobua/release-npm-action@v3
3949
with:
4050
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
51+
MANUAL_TRIGGER: ${{ github.event.inputs.manual }}

0 commit comments

Comments
 (0)