Skip to content

Commit 80d99f0

Browse files
fix : set adb
1 parent 93acfe8 commit 80d99f0

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/actions/setup-vcpkg-android/action.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,18 @@ inputs:
88
runs:
99
using: "composite"
1010
steps:
11-
- name: Set VCPKG_ROOT
11+
- name: Export GitHub Actions cache environment variables
12+
uses: actions/github-script@v7
13+
with:
14+
script: |
15+
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
16+
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
17+
18+
- name: Set VCPKG_ROOT and Binary Sources
1219
shell: bash
13-
run: echo "VCPKG_ROOT=${{ github.workspace }}/${{ inputs.vcpkg-path }}" >> $GITHUB_ENV
20+
run: |
21+
echo "VCPKG_ROOT=${{ github.workspace }}/${{ inputs.vcpkg-path }}" >> $GITHUB_ENV
22+
echo "VCPKG_BINARY_SOURCES=clear;x-gha,readwrite" >> $GITHUB_ENV
1423
1524
- name: Bootstrap vcpkg
1625
shell: bash

integrationtests/android/test_android.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ cd ../../
4545

4646

4747
# --- Resolve device serial ---
48+
ADB="${ADB:-adb}"
4849
PACKAGE="com.heroiclabs.nakamatest"
4950
ACTIVITY="${PACKAGE}/.MainActivity"
5051
TIMEOUT=300

0 commit comments

Comments
 (0)