Skip to content

Commit

Permalink
chore: cache wesh framework on CI (#919)
Browse files Browse the repository at this point in the history
* chore: cache wesh framework on CI

Signed-off-by: Norman Meier <[email protected]>

* tmp: test

Signed-off-by: Norman Meier <[email protected]>

---------

Signed-off-by: Norman Meier <[email protected]>
  • Loading branch information
n0izn0iz authored Feb 2, 2024
1 parent b5adb99 commit c1842ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/mobile-build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ jobs:
- name: Fix gitignore
run: npx tsx ./packages/scripts/app-build/fixGitignore.ts

- name: Restore wesh framework from cache if possible
uses: actions/cache@v4
with:
path: weshd/android/libs/WeshFramework.aar
key: cache_wesh-framework_android_go1.19_linux_${{ hashFiles('weshd/**/*.go', 'weshd/go.mod', 'weshd/go.sum') }}

- name: Build android weshframework
run: make check-android-weshframework

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/mobile-build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
- name: Fix gitignore
run: npx tsx ./packages/scripts/app-build/fixGitignore.ts

- name: Restore wesh framework from cache if possible
uses: actions/cache@v4
with:
path: weshd/ios/Frameworks/WeshFramework.xcframework
key: cache_wesh-framework_ios_go1.19_macos-14_${{ hashFiles('weshd/**/*.go', 'weshd/go.mod', 'weshd/go.sum') }}

- name: Build ios weshframework
run: make check-ios-weshframework

Expand Down
Empty file added test
Empty file.

0 comments on commit c1842ef

Please sign in to comment.