Skip to content

Commit

Permalink
chore: add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed Jul 5, 2024
1 parent b827020 commit f818bf4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Manual Release

on:
workflow_dispatch:

jobs:
build-and-release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "14"

- name: Install dependencies
run: pnpm ci

- name: Build and package
run: |
chmod +x ./scripts/build.sh
./scripts/build.sh
- name: Upload Release Assets
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "gcoas_*.zip"

0 comments on commit f818bf4

Please sign in to comment.