Last active
February 20, 2025 20:37
-
-
Save sjchmiela/8aaf6b754039e1366e7a142402bc6f77 to your computer and use it in GitHub Desktop.
This file contains 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
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, | |
}); |
This file contains 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: 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