diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5634a5e35..4f1acdda6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: yarn install - name: Build Android Release run: | - cd apps/expo/android && ./gradlew assembleRelease + cd client/android && ./gradlew assembleRelease - name: Upload Artifact uses: actions/upload-artifact@v1 with: diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml deleted file mode 100644 index 2c9ac804b..000000000 --- a/.github/workflows/preview.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: preview -on: - push: - branches: [ "**" ] - pull_request: - branches: [ "**" ] - -jobs: - update: - name: EAS Android Preview Build - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - steps: - - name: Check for EXPO_TOKEN - run: | - if [ -z "${{ secrets.EXPO_TOKEN }}" ]; then - echo "You must provide an EXPO_TOKEN secret linked to this project's Expo account in this repo's secrets. Learn more: https://docs.expo.dev/eas-update/github-actions" - exit 1 - fi - - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: 20.x - cache: yarn - - - name: Setup EAS - uses: expo/expo-github-action@v8 - with: - eas-version: latest - token: ${{ secrets.EXPO_TOKEN }} - - - name: Install dependencies - run: yarn install - - - name: Create preview - uses: expo/expo-github-action/preview@v8 - with: - working-directory: apps/expo - command: eas build --platform android --profile preview \ No newline at end of file