Skip to content

Commit

Permalink
更新自动打包文件
Browse files Browse the repository at this point in the history
  • Loading branch information
CvCn committed Aug 6, 2024
1 parent 184b716 commit d79b131
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Package for Tag ${{ github.ref_name }}
name: Build and Package for Tag

on:
push:
Expand All @@ -13,6 +13,17 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install dependencies
run: npm install

- name: Build project
run: npm run build

- name: Get project name
id: vars
run: echo "::set-output name=project_name::$(basename $(git rev-parse --show-toplevel))"
Expand Down

0 comments on commit d79b131

Please sign in to comment.