Skip to content

Commit

Permalink
ci: perf workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Jan 2, 2025
1 parent 5dc6bed commit ed719fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-dev-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
build-dev-image:
runs-on: ubuntu-latest
# 如果是tag则跳过
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/build-release-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,11 @@ jobs:
with:
name: langbot-${{ steps.check_version.outputs.version }}-all
path: .

- name: Upload To Release
env:
GH_TOKEN: ${{ secrets.RELEASE_UPLOAD_GITHUB_TOKEN }}
run: |
# 本目录下所有文件打包成zip
zip -r langbot-${{ steps.check_version.outputs.version }}-all.zip .
gh release upload ${{ github.event.release.tag_name }} langbot-${{ steps.check_version.outputs.version }}-all.zip

0 comments on commit ed719fd

Please sign in to comment.