diff --git a/.github/.obsolete/reusable-build-workflow.yml b/.github/.obsolete/reusable-build-workflow.yml index 97d661cd..99a7123e 100644 --- a/.github/.obsolete/reusable-build-workflow.yml +++ b/.github/.obsolete/reusable-build-workflow.yml @@ -204,44 +204,6 @@ jobs: # swiftpm-cache-restore-keys: | # xcode-cache-sourcedata-build-${{ github.ref_name }}- - - name: (Build) Restore Pods from Cache (Exact match) - id: pods-restore - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-build-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - # restore-keys: | # commented out to strictly check cache for this particular podfile - # pods-cache- - - - name: (Build) Restore Pods from Cache (Last Available) - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - id: pods-restore-recent - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-build-${{ github.ref_name }}- - - - - name: (Build) Install CocoaPods - run: pod install - - - name: (Build) Save Pods to Cache - id: save-pods - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - uses: actions/cache/save@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-build-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - - name: (Build) Clean previous build artifacts # using 'tee' to intercept stdout and log for detailed build-log run: | @@ -255,10 +217,6 @@ jobs: ls -la . echo "" - echo ">>>>>>>>> Pods <<<<<<<<<<" - find Pods -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists - echo "" - echo ">>>>>>>>> SideStore <<<<<<<<<<" find SideStore -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists echo "" @@ -474,40 +432,6 @@ jobs: ~/Library/Caches/org.swift.swiftpm key: xcode-cache-tests-${{ github.ref_name }}- - - name: (Tests-Build) Restore Pods from Cache (Exact match) - id: pods-restore - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - - - name: (Tests-Build) Restore Pods from Cache (Last Available) - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - id: pods-restore-recent - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}- - - - name: (Tests-Build) Install CocoaPods - run: pod install - - - name: (Tests-Build) Save Pods to Cache - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - uses: actions/cache/save@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - - name: Clean Derived Data (if required) if: ${{ vars.PERFORM_CLEAN_TESTS_BUILD == '1' }} run: | @@ -526,10 +450,6 @@ jobs: ls -la . echo "" - echo ">>>>>>>>> Pods <<<<<<<<<<" - find Pods -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists - echo "" - echo ">>>>>>>>> SideStore <<<<<<<<<<" find SideStore -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists echo "" @@ -646,40 +566,6 @@ jobs: ~/Library/Caches/org.swift.swiftpm key: xcode-cache-tests-${{ github.ref_name }}-${{ github.sha }} - - name: (Tests-Run) Restore Pods from Cache (Exact match) - id: pods-restore - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - - - name: (Tests-Run) Restore Pods from Cache (Last Available) - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - id: pods-restore-recent - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}- - - - name: (Tests-Run) Install CocoaPods - run: pod install - - - name: (Tests-Run) Save Pods to Cache - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - uses: actions/cache/save@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - - name: (Tests-Run) Clean previous build artifacts run: | make clean @@ -691,10 +577,6 @@ jobs: ls -la . echo "" - echo ">>>>>>>>> Pods <<<<<<<<<<" - find Pods -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists - echo "" - echo ">>>>>>>>> SideStore <<<<<<<<<<" find SideStore -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists echo "" diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 535da38d..29b9fe32 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -54,57 +54,12 @@ jobs: swiftpm-cache-restore-keys: | xcode-cache-sourcedata- - - - name: Restore Pods from Cache (Exact match) - id: pods-restore - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-${{ hashFiles('Podfile') }} - # restore-keys: | # commented out to strictly check cache for this particular podfile - # pods-cache- - - - name: Restore Pods from Cache (Last Available) - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - id: pods-restore-recent - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache- - - - name: Install CocoaPods - # if: ${{ steps.pods-restore.outputs.cache-hit != 'true'}} - id: pods-install - run: | - pod install - - - name: Save Pods to Cache - id: save-pods - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - uses: actions/cache/save@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-${{ hashFiles('Podfile') }} - - name: List Files and derived data run: | echo ">>>>>>>>> Workdir <<<<<<<<<<" ls -la . echo "" - echo ">>>>>>>>> Pods <<<<<<<<<<" - find Pods -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists - echo "" - echo ">>>>>>>>> SideStore <<<<<<<<<<" find SideStore -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists echo "" diff --git a/.github/workflows/sidestore-build.yml b/.github/workflows/sidestore-build.yml index 8fc74437..ae5391a1 100644 --- a/.github/workflows/sidestore-build.yml +++ b/.github/workflows/sidestore-build.yml @@ -173,45 +173,6 @@ jobs: # swiftpm-cache-restore-keys: | # xcode-cache-sourcedata-build-${{ github.ref_name }}- - - name: (Build) Restore Pods from Cache (Exact match) - id: pods-restore - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-build-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - # restore-keys: | # commented out to strictly check cache for this particular podfile - # pods-cache- - - - name: (Build) Restore Pods from Cache (Last Available) - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - id: pods-restore-recent - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-build-${{ github.ref_name }}- - - - - name: (Build) Install CocoaPods - run: pod install - shell: bash - - - name: (Build) Save Pods to Cache - id: save-pods - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - uses: actions/cache/save@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-build-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - - name: (Build) Clean previous build artifacts # using 'tee' to intercept stdout and log for detailed build-log run: | @@ -227,10 +188,6 @@ jobs: ls -la . echo "" - echo ">>>>>>>>> Pods <<<<<<<<<<" - find Pods -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists - echo "" - echo ">>>>>>>>> SideStore <<<<<<<<<<" find SideStore -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists echo "" diff --git a/.github/workflows/sidestore-tests-build.yml b/.github/workflows/sidestore-tests-build.yml index 4f8f6f6a..6338e114 100644 --- a/.github/workflows/sidestore-tests-build.yml +++ b/.github/workflows/sidestore-tests-build.yml @@ -68,41 +68,6 @@ jobs: ~/Library/Caches/org.swift.swiftpm key: xcode-cache-tests-${{ github.ref_name }}- - - name: (Tests-Build) Restore Pods from Cache (Exact match) - id: pods-restore - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - - - name: (Tests-Build) Restore Pods from Cache (Last Available) - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - id: pods-restore-recent - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}- - - - name: (Tests-Build) Install CocoaPods - run: pod install - shell: bash - - - name: (Tests-Build) Save Pods to Cache - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - uses: actions/cache/save@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - - name: Clean Derived Data (if required) if: ${{ vars.PERFORM_CLEAN_TESTS_BUILD == '1' }} run: | @@ -124,10 +89,6 @@ jobs: ls -la . echo "" - echo ">>>>>>>>> Pods <<<<<<<<<<" - find Pods -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists - echo "" - echo ">>>>>>>>> SideStore <<<<<<<<<<" find SideStore -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists echo "" diff --git a/.github/workflows/sidestore-tests-run.yml b/.github/workflows/sidestore-tests-run.yml index 5e2318a0..b2b4dadf 100644 --- a/.github/workflows/sidestore-tests-run.yml +++ b/.github/workflows/sidestore-tests-run.yml @@ -56,41 +56,6 @@ jobs: ~/Library/Caches/org.swift.swiftpm key: xcode-cache-tests-${{ github.ref_name }}-${{ github.sha }} - - name: (Tests-Run) Restore Pods from Cache (Exact match) - id: pods-restore - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - - - name: (Tests-Run) Restore Pods from Cache (Last Available) - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - id: pods-restore-recent - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}- - - - name: (Tests-Run) Install CocoaPods - run: pod install - shell: bash - - - name: (Tests-Run) Save Pods to Cache - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - uses: actions/cache/save@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-test-${{ github.ref_name }}-${{ hashFiles('Podfile') }} - - name: (Tests-Run) Clean previous build artifacts run: | make clean @@ -104,10 +69,6 @@ jobs: ls -la . echo "" - echo ">>>>>>>>> Pods <<<<<<<<<<" - find Pods -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists - echo "" - echo ">>>>>>>>> SideStore <<<<<<<<<<" find SideStore -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists echo "" diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 68f1ea92..b8edd762 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -89,43 +89,6 @@ jobs: ~/Library/Caches/org.swift.swiftpm key: xcode-cache-build-stable- - - name: (Build) Restore Pods from Cache (Exact match) - id: pods-restore - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-build-stable-${{ hashFiles('Podfile') }} - - - name: (Build) Restore Pods from Cache (Last Available) - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - id: pods-restore-recent - uses: actions/cache/restore@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-build-stable- - - - - name: (Build) Install CocoaPods - run: pod install - shell: bash - - - name: (Build) Save Pods to Cache - id: save-pods - if: ${{ steps.pods-restore.outputs.cache-hit != 'true' }} - uses: actions/cache/save@v3 - with: - path: | - ./Podfile.lock - ./Pods/ - ./AltStore.xcworkspace/ - key: pods-cache-build-stable-${{ hashFiles('Podfile') }} - - name: (Build) Clean previous build artifacts run: | make clean @@ -140,10 +103,6 @@ jobs: ls -la . echo "" - echo ">>>>>>>>> Pods <<<<<<<<<<" - find Pods -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists - echo "" - echo ">>>>>>>>> SideStore <<<<<<<<<<" find SideStore -maxdepth 2 -exec ls -ld {} + || true # List contents if directory exists echo ""