Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Jul 19, 2024
1 parent 452b45a commit 5cb3121
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ runs:
node-version-file: .nvmrc

- name: Setup Yarn
run:
npm i -g [email protected]
run: npm i -g [email protected]
shell: bash

- name: Set up Python
Expand All @@ -30,6 +29,7 @@ runs:
${{ runner.os }}-yarn-ng
- name: Install dependencies
if: ${{ !skip_install }}
run: |
yarn config set agora-electron-sdk-pre-built 0
yarn install --frozen-lockfile
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup
with:
skip_install: true

- name: Prepare Build Example
run: |
yarn
Expand Down Expand Up @@ -85,6 +90,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup
with:
skip_install: true

- name: Prepare Build Example
run: |
yarn
Expand Down

0 comments on commit 5cb3121

Please sign in to comment.