Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Nov 29, 2024
1 parent 0de5766 commit ee793c1
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,31 @@ jobs:
echo "packageVersion=${PACKAGE_VERSION}" >> $GITHUB_ENV
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'

- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
# - name: Cache Gradle packages
# uses: actions/cache@v4
# with:
# path: |
# ~/.gradle/caches
# ~/.gradle/wrapper
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
# restore-keys: |
# ${{ runner.os }}-gradle-

- run: npm i -g titanium
name: Install Titanium CLI

- name: Cache SDK
id: titanium-cache
uses: actions/cache@v4
with:
path: ~/.titanium/mobilesdk/linux/${{ env.SDK_VERSION }}
key: ${{ runner.os }}-titanium-sdk-${{ env.SDK_VERSION }}
restore-keys: |
${{ runner.os }}-titanium-sdk-
# - name: Cache SDK
# id: titanium-cache
# uses: actions/cache@v4
# with:
# path: ~/.titanium/mobilesdk/linux/${{ env.SDK_VERSION }}
# key: ${{ runner.os }}-titanium-sdk-${{ env.SDK_VERSION }}
# restore-keys: |
# ${{ runner.os }}-titanium-sdk-

- run: ti sdk install ${{ env.SDK_VERSION }} --force
name: Install SDK
Expand Down Expand Up @@ -94,9 +94,9 @@ jobs:
path: |
android/dist/hyperloop-android-*.zip
- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties
# - name: Cleanup Gradle Cache
# # Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# # Restoring these files from a GitHub Actions cache might cause problems for future builds.
# run: |
# rm -f ~/.gradle/caches/modules-2/modules-2.lock
# rm -f ~/.gradle/caches/modules-2/gc.properties

0 comments on commit ee793c1

Please sign in to comment.