From fa3066aaa8e441b8ca0d04ca8b97761a9b522826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Mon, 25 Mar 2024 02:13:42 +0800 Subject: [PATCH] workflow: fix --- .github/workflows/ci.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10ffb9e..6629203 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: build: runs-on: ubuntu-latest container: - image: node:10.24.1 + image: node:10.24.1-alpine steps: - uses: actions/checkout@v2 @@ -17,21 +17,9 @@ jobs: - name: Build run: npm run build - zip: - needs: build - runs-on: ubuntu-latest - container: - image: alpine:latest - - steps: - - uses: actions/checkout@v2 - - - name: Prepare environment - run: | - apk add zip - - name: Zip files run: | + apk add zip cd icon-font zip -r icon-font.zip *