From ba7ea1f766dc5c60267408d6f018d80ae5760df8 Mon Sep 17 00:00:00 2001 From: Odysseas Gabrielides Date: Thu, 10 Oct 2024 12:45:47 +0300 Subject: [PATCH] moved clear deps into build workflow and updated checkout acctions --- .github/workflows/build.yml | 7 +++++-- .github/workflows/network.yml | 5 +---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 349893bc..369d29eb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: run: | brew install automake - name: Checkout DashSync - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: dashsync submodules: recursive @@ -48,7 +48,10 @@ jobs: xcode-version: '15.4' - name: Rustup add targets run: rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim - - name: Dependencies + - name: Clear dependencies + working-directory: ./dashsync/Example + run: rm -rf Podfile.lock Pods/ *.xcworkspace + - name: Build dependencies working-directory: ./dashsync/Example run: pod install --repo-update --verbose - name: Build diff --git a/.github/workflows/network.yml b/.github/workflows/network.yml index d24f22ca..342edf1b 100644 --- a/.github/workflows/network.yml +++ b/.github/workflows/network.yml @@ -17,7 +17,7 @@ jobs: run: | brew install automake - name: Checkout DashSync - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: dashsync submodules: recursive @@ -44,9 +44,6 @@ jobs: run: cargo install cargo-lipo - name: Rustup add targets run: rustup target add x86_64-apple-darwin - - name: Clear dependencies - working-directory: ./dashsync/Example - run: rm -rf Podfile.lock Pods/ *.xcworkspace - name: Build Dependencies working-directory: ./dashsync/Example run: pod install --repo-update