fluffychat/.github/workflows/manual.yml
2024-12-24 13:44:44 +01:00

29 lines
No EOL
794 B
YAML

name: Deploy test to Android play store
on:
workflow_dispatch:
inputs:
environment:
type: environment
description: Select the environment
jobs:
deploy_playstore_internal:
environment:
name: ${{ inputs.environment }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'zulu'
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Update env files to selected environment
run: |
rm .env
rm assets/.env
echo "$WEB_APP_ENV"