Skip to content

Commit

Permalink
CI: add release
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxspro committed Jan 20, 2024
1 parent c983141 commit 2dd2daf
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Release'

on:
push:
tags:
- 'v*'

jobs:
release:
name: 'Release'
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
- name: 'Pack plugin'
run: |
python pack.py
- name: Create GitHub release
id: release
env:
GH_TOKEN: ${{ github.token }}
run: gh release create ${{ github.ref_name }} ./dist/*.zip -t "Release ${{ github.ref_name }}" --generate-notes -d

0 comments on commit 2dd2daf

Please sign in to comment.