From 4d4ebe243739e8f617f3acd47612f81fa678b75d Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 17 Dec 2024 13:13:10 +0800 Subject: [PATCH] ci: update workflows config. --- .github/workflows/ci.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90c3742..3a96613 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,26 @@ jobs: node-version: 20 registry-url: 'https://registry.npmjs.org' + - name: Create Tag + id: create_tag + uses: jaywcjlove/create-tag-action@main + with: + test: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}' + + - name: Create Tag + uses: jaywcjlove/create-tag-action@main + with: + version: ${{ steps.create_tag.outputs.version }} + release: true + body: | + + RegexMate AppStore + + - name: Create idoc config. run: | cat > idoc.yml << EOF - site: "RegexMate" + site: "RegexMate {{version:${{ steps.create_tag.outputs.version }}}}" description: RegexMate is a beautifully designed regex app built exclusively for macOS. With a clean and intuitive interface, it empowers you to craft and test regular expressions with ease. keywords: regex,expression,pattern matching,developer tools,productivity favicon: assets/logo.png @@ -77,19 +93,3 @@ jobs: commit_message: ${{ github.event.head_commit.message }} github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist - - - name: Create Tag - id: create_tag - uses: jaywcjlove/create-tag-action@main - with: - test: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}' - - - name: Create Tag - uses: jaywcjlove/create-tag-action@main - with: - version: ${{ steps.create_tag.outputs.version }} - release: true - body: | - - RegexMate AppStore - \ No newline at end of file