-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (50 loc) · 1.59 KB
/
ci_release.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Release
run-name: Release ${{ inputs.package }}${{ inputs.dry-run && ' (dry-run)' || '' }}
on:
workflow_dispatch:
inputs:
package:
description: Package
required: true
type: choice
options:
- -- all --
- core
- date-picker
- layout
- list-loader
- message-box
- message-box-dialog
- numeric-stepper
- overlay
- search-container
- sidenav
- snackbar
- splitter
- status
- time-picker
- tooltip
- user-card
- user-tooltip
dry-run:
description: --dry-run
type: boolean
default: false
env:
HUSKY: 0
FORCE_COLOR: 3
jobs:
ci_release:
uses: dsi-hug/actions/.github/workflows/action.yml@v2
secrets:
GIT_USER_NAME: 'dsi-hug-bot'
GIT_USER_EMAIL: '[email protected]'
GH_TOKEN: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.DSI_HUG_NPM_TOKEN }}
with:
working-directory: ${{ (inputs.package == '-- all --') && '.' || format('projects/{0}', inputs.package) }}
dry-run: ${{ inputs.dry-run }}
lint: true
test: true
build: true
release: true