From e3a562e3efee9171da8868e4aebc43a788545f7e Mon Sep 17 00:00:00 2001 From: Tlntin Date: Sun, 8 Jan 2023 13:05:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0linux/macos=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pake_build.yaml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pake_build.yaml b/.github/workflows/pake_build.yaml index 7ea81c5..297fcaa 100644 --- a/.github/workflows/pake_build.yaml +++ b/.github/workflows/pake_build.yaml @@ -52,6 +52,8 @@ jobs: run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf gnome-video-effects gnome-video-effects-extra + git clone https://github.com/Tlntin/pake_target_linux.git + mv pake_target_linux/target src-tauri/target - name: build for Ubuntu if: matrix.os == 'ubuntu-20.04' @@ -61,6 +63,8 @@ jobs: if: matrix.os == 'macos-latest' run: | rustup target add aarch64-apple-darwin + git clone https://github.com/Tlntin/pake_target_macos.git + mv pake_target_macos/target src-tauri/target npm run build:all-unix - name: build for windows @@ -75,14 +79,14 @@ jobs: curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh bash upload.sh output/*/*.* - - name: Build archive - shell: bash - run: | - cd src-tauri - tar -czf "${{ matrix.archive-name }}" target + # - name: Build archive + # shell: bash + # run: | + # cd src-tauri + # tar -czf "${{ matrix.archive-name }}" target - - name: Upload archive - uses: actions/upload-artifact@v1 - with: - name: ${{ matrix.archive-name }} - path: src-tauri/${{ matrix.archive-name }} + # - name: Upload archive + # uses: actions/upload-artifact@v1 + # with: + # name: ${{ matrix.archive-name }} + # path: src-tauri/${{ matrix.archive-name }}