Skip to content

chore: token again

chore: token again #14

Workflow file for this run

name: E2E
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
setup:
uses: ./.github/workflows/reusable_setup.yml

Check failure on line 13 in .github/workflows/e2e-test.yml

View workflow run for this annotation

GitHub Actions / E2E

Invalid workflow file

The workflow is not valid. .github/workflows/e2e-test.yml (Line: 13, Col: 11): Secret THE_GH_RELEASE_TOKEN is required, but not provided while calling. .github/workflows/e2e-test.yml (Line: 15, Col: 29): Invalid secret, CAP_GH_RELEASE_TOKEN is not defined in the referenced workflow.

Check failure on line 13 in .github/workflows/e2e-test.yml

View workflow run for this annotation

GitHub Actions / E2E

Invalid workflow file

The workflow is not valid. .github/workflows/e2e-test.yml (Line: 13, Col: 11): Secret THE_GH_RELEASE_TOKEN is required, but not provided while calling. .github/workflows/e2e-test.yml (Line: 15, Col: 29): Invalid secret, CAP_GH_RELEASE_TOKEN is not defined in the referenced workflow.
secrets:
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
ios:
if: true
needs: 'setup'
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
env:
GITHUB_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- run: |
curl -Ls "https://get.maestro.mobile.dev" | bash
export PATH="$PATH":"$HOME/.maestro/bin"
brew tap facebook/fb
brew install facebook/fb/idb-companion
./e2e/scripts/RuniOSTest.sh
android:
if: false
needs: 'setup'
runs-on: macos-14
steps:
- uses: actions/checkout@v4
env:
GITHUB_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Add avdmanager and sdkmanager to system PATH
run: |
echo "$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools/${{ env.ANDROID_BUILD_TOOLS_VERSION }}" >> $GITHUB_PATH
- name: Sdk
run: |
yes Y | sdkmanager --licenses
- name: "Run Tests"
run: |
curl -Ls "https://get.maestro.mobile.dev" | bash
export PATH="$PATH":"$HOME/.maestro/bin"
./e2e/scripts/RunAndroidTest.sh