Skip to content

Commit

Permalink
ci: add tag workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 28, 2024
1 parent b666273 commit 0a858a1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI
on:
push:
# branches:
# - main
tags:
- v*

jobs:
tags:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- name: Extract version from tag
id: extract_version
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Create Tag
id: create_tag
uses: jaywcjlove/create-tag-action@main
with:
version: ${{ env.VERSION }}
release: true
body: |
<a target="_blank" href="https://apps.apple.com/app/devtutor/6471227008" title="DevTutor for SwiftUI AppStore">
<img alt="Quick RSS AppStore" src="https://tools.applemediaservices.com/api/badges/download-on-the-mac-app-store/black/en-us?size=250x83&amp;releaseDate=1705968000" height="51">
</a>

0 comments on commit 0a858a1

Please sign in to comment.