generated from sapphiredev/sapphire-template
-
-
Notifications
You must be signed in to change notification settings - Fork 34
37 lines (35 loc) · 1.03 KB
/
publish.yml
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
name: Publish
run-name: Publish @sapphire/${{ inputs.package }}
on:
workflow_dispatch:
inputs:
package:
description: The package to release
required: true
type: choice
options:
- api
- editable-commands
- hmr
- i18next
- logger
- pattern-commands
- scheduled-tasks
- subcommands
- utilities-store
skip-automatic-bump:
description: Whether to skip the automatic bumping of the packageversion
required: false
default: false
type: boolean
jobs:
PublishPackage:
name: Publish @sapphire/${{ inputs.package}}
uses: sapphiredev/.github/.github/workflows/reusable-publish.yml@main
with:
project-name: '@sapphire/${{ inputs.package}}'
working-directory: packages/${{ inputs.package }}
skip-automatic-bump: ${{ inputs.skip-automatic-bump }}
secrets:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
SKYRA_TOKEN: ${{ secrets.SKYRA_TOKEN }}