Skip to content

Commit

Permalink
update: 更新 Github Actions 脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
zoujingli committed Aug 3, 2024
1 parent dc4bfb4 commit 88e01b0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions plugin/think-plugs-static/.github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Release
permissions: write-all

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

0 comments on commit 88e01b0

Please sign in to comment.