update github actions for test
This commit is contained in:
10
.github/workflows/pake_build_with_cache.yaml
vendored
10
.github/workflows/pake_build_with_cache.yaml
vendored
@@ -5,7 +5,13 @@ on:
|
|||||||
version:
|
version:
|
||||||
description: "tag version"
|
description: "tag version"
|
||||||
required: true
|
required: true
|
||||||
default: "v0.0.1"
|
default: "V0.0.1"
|
||||||
|
is_pre_release:
|
||||||
|
description: "pre-release or release, is true, is pre-release"
|
||||||
|
required: true
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -88,7 +94,7 @@ jobs:
|
|||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
prerelease: true
|
prerelease: ${{ inputs.is_pre_release }}
|
||||||
artifacts: "output/*/*.*"
|
artifacts: "output/*/*.*"
|
||||||
tag: ${{ inputs.version }}
|
tag: ${{ inputs.version }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user