Skip to content

Commit

Permalink
👷 cd
Browse files Browse the repository at this point in the history
  • Loading branch information
XxLittleCxX committed Oct 10, 2021
1 parent 361b200 commit 1d48414
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'build'
on:
release:
types: [released]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
- run: npm i esbuild -g
- run: chmod +x ./build.sh && mkdir -p ./assets/js/ && ./build.sh
- run: mkdir ./vendor && wget https://github.com/tencentyun/cos-php-sdk-v5/releases/download/v2.3.4/cos-sdk-v5-7.phar -O ./vendor/cos-sdk-v5-7.phar
- name: Make file
run: zip release.zip -r ./ -x '*.git*'
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
release.zip

0 comments on commit 1d48414

Please sign in to comment.