Skip to content

Commit

Permalink
Merge branch 'main' of github.com:LaneDu/Knowledge-Brain into main
Browse files Browse the repository at this point in the history
  • Loading branch information
LaneDu committed Jul 22, 2023
2 parents 6db7cfc + 71dc319 commit 963de11
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/new.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
push:
tags:
- 'v*'

jobs:
release:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Package
run: |
zip -r package.zip src script style 1.svg icon.png priview1.png preview.png README_zh_CN.md README.md theme.css theme.js theme.json
- name: Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifactErrorsFailBuild: true
artifacts: 'package.zip'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 963de11

Please sign in to comment.