feat: Add create and join group functionality #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Android APK | |
| on: | |
| pull_request: | |
| branches: [ main, master] | |
| push: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - name: Set up Java | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Install Expo CLI | |
| run: npm install -g eas-cli | |
| - name: Install dependencies | |
| run: npm install | |
| working-directory: ./frontend | |
| - name: Build and Download APK | |
| run: | | |
| URL=$(eas build --platform android --profile production --non-interactive --wait --output=./app.apk) | |
| echo "APK URL: $URL" | |
| working-directory: ./frontend | |
| - name: Upload APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: app | |
| path: frontend/app.apk |