Skip to content

Commit

Permalink
Use github cache for xcode derived-data and rust target
Browse files Browse the repository at this point in the history
  • Loading branch information
tmolitor-stud-tu committed Jan 26, 2025
1 parent 01319f3 commit 0df4e16
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/develop-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@ jobs:
echo "#define ALPHA_COMMIT_HASH \"$(git show-ref --hash --abbrev refs/heads/develop)\"" > Monal/Classes/commitHash.h
- name: Make our build scripts executable
run: chmod +x ./scripts/build.sh
- name: Cache Rust build artifacts
uses: actions/cache@v4
with:
key: rust-cache-target-${{ github.workflow }}-${{ github.sha }}
restore-keys: rust-cache-target-${{ github.workflow }}-
path: |
./rust/target
- name: Cache XCode derived data
uses: irgaly/xcode-cache@v1
with:
delete-used-deriveddata-cache: true
key: xcode-cache-deriveddata-${{ github.workflow }}-${{ github.sha }}
restore-keys: xcode-cache-deriveddata-${{ github.workflow }}-
- name: Run build
run: ./scripts/build.sh
- run: |
Expand Down

0 comments on commit 0df4e16

Please sign in to comment.