Skip to content

Commit 4d4ebe2

Browse files
committed
ci: update workflows config.
1 parent f9dd2b8 commit 4d4ebe2

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/ci.yml

+17-17
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,26 @@ jobs:
1414
node-version: 20
1515
registry-url: 'https://registry.npmjs.org'
1616

17+
- name: Create Tag
18+
id: create_tag
19+
uses: jaywcjlove/create-tag-action@main
20+
with:
21+
test: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
22+
23+
- name: Create Tag
24+
uses: jaywcjlove/create-tag-action@main
25+
with:
26+
version: ${{ steps.create_tag.outputs.version }}
27+
release: true
28+
body: |
29+
<a target="_blank" href="https://apps.apple.com/app/regex-mate/id6479819388" title="Iconize Folder for macOS">
30+
<img alt="RegexMate AppStore" src="https://jaywcjlove.github.io/sb/download/macos.svg" height="51">
31+
</a>
32+
1733
- name: Create idoc config.
1834
run: |
1935
cat > idoc.yml << EOF
20-
site: "RegexMate"
36+
site: "RegexMate {{version:${{ steps.create_tag.outputs.version }}}}"
2137
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.
2238
keywords: regex,expression,pattern matching,developer tools,productivity
2339
favicon: assets/logo.png
@@ -77,19 +93,3 @@ jobs:
7793
commit_message: ${{ github.event.head_commit.message }}
7894
github_token: ${{ secrets.GITHUB_TOKEN }}
7995
publish_dir: ./dist
80-
81-
- name: Create Tag
82-
id: create_tag
83-
uses: jaywcjlove/create-tag-action@main
84-
with:
85-
test: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
86-
87-
- name: Create Tag
88-
uses: jaywcjlove/create-tag-action@main
89-
with:
90-
version: ${{ steps.create_tag.outputs.version }}
91-
release: true
92-
body: |
93-
<a target="_blank" href="https://apps.apple.com/app/regex-mate/id6479819388" title="Iconize Folder for macOS">
94-
<img alt="RegexMate AppStore" src="https://jaywcjlove.github.io/sb/download/macos.svg" height="51">
95-
</a>

0 commit comments

Comments
 (0)