diff --git a/.ci/scripts/setup-samsung-linux-deps.sh b/.ci/scripts/setup-samsung-linux-deps.sh index ed704b2bfbd..6125bf02170 100644 --- a/.ci/scripts/setup-samsung-linux-deps.sh +++ b/.ci/scripts/setup-samsung-linux-deps.sh @@ -11,7 +11,7 @@ set -ex download_ai_lite_core() { API_BASE="https://soc-developer.semiconductor.samsung.com/api/v1/resource/ai-litecore/download" - API_KEY="kn10SoSY3hkC-9Qny5TqD2mnqVrlupv3krnjLeBt5cY" + API_KEY="$SAMSUNG_AI_LITECORE_KEY" VERSION="0.5" OS_NAME="Ubuntu 22.04" diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index d8c551e8982..df2e4ca9282 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -900,12 +900,14 @@ jobs: permissions: id-token: write contents: read + secrets: inherit with: runner: linux.2xlarge docker-image: ci-image:executorch-ubuntu-22.04-clang12-android submodules: 'recursive' ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} timeout: 90 + secrets-env: SAMSUNG_AI_LITECORE_KEY script: | set -ex @@ -916,6 +918,7 @@ jobs: # Setup python PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "cmake" + SAMSUNG_AI_LITECORE_KEY="${SECRET_SAMSUNG_AI_LITECORE_KEY}" # Setup Samsung SDK (AI Lite Core) and install enn backend source .ci/scripts/setup-samsung-linux-deps.sh