Skip to content

Instantly share code, notes, and snippets.

@sjchmiela
Last active February 20, 2025 20:37
Show Gist options
  • Save sjchmiela/8aaf6b754039e1366e7a142402bc6f77 to your computer and use it in GitHub Desktop.
Save sjchmiela/8aaf6b754039e1366e7a142402bc6f77 to your computer and use it in GitHub Desktop.
import { ExpoConfig, ConfigContext } from 'expo/config';
export default ({ config }: ConfigContext): ExpoConfig => ({
name: 'App with Dynamic Version',
slug: 'test-app',
...config,
version: process.env.EXPO_VERSION || config.version,
});
name: Android build and e2e test
on:
push:
branches: ['*']
jobs:
setup:
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- id: version
run: |
VERSION=$(date +"%Y.%-m.%-d")
set-output version $VERSION
build_android:
type: build
needs: [setup]
env:
EXPO_VERSION: ${{ needs.setup.outputs.version }}
params:
platform: android
profile: development-simulator
maestro_test:
needs: [build_android]
type: maestro
params:
build_id: ${{ needs.build_android.outputs.build_id }}
flow_path: ['./e2e/flow.yaml']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment