From 6c4251e65737bcbb5d6c1ce5f5981b2bd7a22209 Mon Sep 17 00:00:00 2001 From: msojocs Date: Thu, 5 May 2022 11:03:43 +0800 Subject: [PATCH] fix: failed to build snap in actions --- .github/workflows/release.yml | 2 ++ snap/snapcraft.yaml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21ae31f..6292b1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index e62cb37..cb21464 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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 # 准备文件