From 93c5c1baa8cc04f7aedeb486fd2ddb830ddba977 Mon Sep 17 00:00:00 2001 From: Tlntin Date: Fri, 24 Mar 2023 14:40:00 +0800 Subject: [PATCH] update github actions for test --- .github/workflows/pake_build_with_cache.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pake_build_with_cache.yaml b/.github/workflows/pake_build_with_cache.yaml index dd5bd7f..60f7d32 100644 --- a/.github/workflows/pake_build_with_cache.yaml +++ b/.github/workflows/pake_build_with_cache.yaml @@ -5,7 +5,13 @@ on: version: description: "tag version" 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: build: @@ -88,7 +94,7 @@ jobs: uses: ncipollo/release-action@v1 with: allowUpdates: true - prerelease: true + prerelease: ${{ inputs.is_pre_release }} artifacts: "output/*/*.*" tag: ${{ inputs.version }} token: ${{ secrets.GITHUB_TOKEN }}