From e8ec225638c41da89930c0c9ac573413695b5298 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 4 Sep 2024 04:17:21 +0800 Subject: [PATCH] ci: update workflows config. --- .github/workflows/tag.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/tag.yml diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml new file mode 100644 index 0000000..ddd8a33 --- /dev/null +++ b/.github/workflows/tag.yml @@ -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: | + + DevHub AppStore + \ No newline at end of file