.
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -81,5 +81,3 @@ jobs:
|
|||||||
build_dir: packages/demo/dist
|
build_dir: packages/demo/dist
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN_GH_PAGES }}
|
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN_GH_PAGES }}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@@ -4,19 +4,19 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
description:
|
description:
|
||||||
description: 'Version description'
|
description: "Version description"
|
||||||
type: string
|
type: string
|
||||||
version:
|
version:
|
||||||
description: 'Version'
|
description: "Version"
|
||||||
default: '0.0.1'
|
default: "0.0.1"
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
prerelease:
|
prerelease:
|
||||||
description: 'Prerelease'
|
description: "Prerelease"
|
||||||
default: false
|
default: false
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
cache: yarn
|
cache: yarn
|
||||||
node-version: 16
|
node-version: 16
|
||||||
|
|
||||||
- name: bump version
|
- name: bump version
|
||||||
run: yarn version --no-git-tag-version --new-version ${{ github.ref.name }}
|
run: yarn version --no-git-tag-version --new-version ${{ github.ref.name }}
|
||||||
|
|
||||||
@@ -86,4 +86,4 @@ jobs:
|
|||||||
tag_name: v${{ github.event.inputs.version }}
|
tag_name: v${{ github.event.inputs.version }}
|
||||||
# release_name: Release ${{ github.event.inputs.version }}
|
# release_name: Release ${{ github.event.inputs.version }}
|
||||||
body: ${{ github.event.inputs.description }}
|
body: ${{ github.event.inputs.description }}
|
||||||
prerelease: ${{ github.event.inputs.prerelease }}
|
prerelease: ${{ github.event.inputs.prerelease }}
|
||||||
|
|||||||
Reference in New Issue
Block a user