fix: failed to build snap in actions

This commit is contained in:
msojocs 2022-05-05 11:03:43 +08:00
parent fd12934be2
commit 6c4251e657
2 changed files with 2 additions and 1 deletions

View File

@ -319,6 +319,8 @@ jobs:
- name: Prepare
run: |
cd compiler && npm install
git --version
git --help
# You can now run Snapcraft shell commands
- name: Build snap

View File

@ -72,7 +72,6 @@ parts:
ls -l $SNAPCRAFT_STAGE
ls -l
cd $SNAPCRAFT_PROJECT_DIR && git submodule update --init
cd $SNAPCRAFT_PROJECT_DIR/compiler && npm install
cd $SNAPCRAFT_PART_BUILD
# 准备文件