Skip to content

Commit

Permalink
chore: debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 committed Dec 18, 2024
1 parent bccb6e7 commit cf25533
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 22 deletions.
46 changes: 24 additions & 22 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ runs:
node-version: ${{ inputs.node-version }}
cache: yarn

- name: Cache dependencies
id: yarn-cache
uses: actions/cache@v3
with:
path: |
**/node_modules
!examples/embedded-accounts-quickstart
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-yarn-
# this cache isn't actually being used in actions... not sure why
# - name: Cache dependencies
# id: yarn-cache
# uses: actions/cache@v3
# with:
# path: |
# **/node_modules
# !examples/embedded-accounts-quickstart
# .yarn/install-state.gz
# key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
# ${{ runner.os }}-yarn-

- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -66,13 +67,14 @@ runs:
run: |
/bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses > /dev/null"
- name: Cache Gradle
if: env.turbo_cache_hit != 1
uses: actions/cache@v3
with:
path: |
~/.gradle/wrapper
~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('account-kit/rn-signer/example/android/gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
# similarly, I'm not seeing this cache ever get used
# - name: Cache Gradle
# if: env.turbo_cache_hit != 1
# uses: actions/cache@v3
# with:
# path: |
# ~/.gradle/wrapper
# ~/.gradle/caches
# key: ${{ runner.os }}-gradle-${{ hashFiles('account-kit/rn-signer/example/android/gradle/wrapper/gradle-wrapper.properties') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
4 changes: 4 additions & 0 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ jobs:
platform: linux
tag: v0.2.2
cache: enable

- name: Debug print df
run: df -h
shell: bash

- name: Build Libraries
env:
Expand Down

0 comments on commit cf25533

Please sign in to comment.