Skip to content

Commit

Permalink
Try irgaly/xcode-cache@v1
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Nov 27, 2024
1 parent 8d82c90 commit 95715fb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Cache packages
uses: irgaly/xcode-cache@v1
with:
key: xcode-cache-deriveddata-${{ github.workflow }}-${{ github.sha }}
restore-keys: xcode-cache-deriveddata-${{ github.workflow }}-
swiftpm-cache-key: pillarbox-spm-${{ hashFiles('Package.resolved') }}
swiftpm-cache-restore-keys: pillarbox-spm-

- name: Run tests
run: |
make test-${{ matrix.platform }}
Expand Down Expand Up @@ -64,6 +72,14 @@ jobs:
${{ secrets.APP_STORE_CONNECT_API_KEY_B64 }} \
${{ secrets.APPLE_ACCOUNT_INFO_B64 }}
- name: Cache packages
uses: irgaly/xcode-cache@v1
with:
key: xcode-cache-deriveddata-${{ github.workflow }}-${{ github.sha }}
restore-keys: xcode-cache-deriveddata-${{ github.workflow }}-
swiftpm-cache-key: pillarbox-demo-spm-${{ hashFiles('Demo/**/Package.resolved') }}

Check failure on line 80 in .github/workflows/pull-request.yml

View workflow job for this annotation

GitHub Actions / 🔎 Check quality

80:81 [line-length] line too long (92 > 80 characters)
swiftpm-cache-restore-keys: pillarbox-demo-spm-

- name: Archive the demo
run: |
make archive-demo-${{ matrix.platform }}
Expand Down

0 comments on commit 95715fb

Please sign in to comment.