Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
luhouyang committed Jul 8, 2024
2 parents fc8dd98 + 67e48ca commit 2bc26ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ name: Flutter CI
on:
push:
branches:
# - main
- paused
- main

# on: push # Default will running for every branch.

Expand All @@ -28,9 +27,14 @@ jobs:
channel: 'stable' # 'dev', 'alpha', default to: 'stable'
flutter-version: 3.22.1
# flutter-version: '1.12.x' # you can also specify exact version of flutter
- env:
API_KEY: ${{ secrets.OPENAI_API_KEY }}

# Get flutter dependencies.
- run: flutter pub get

# Set environment variable and run build
- run: echo '$env:API_KEY' > .env
- run: dart run build_runner build

# Statically analyze the Dart code for any errors.
Expand Down

0 comments on commit 2bc26ec

Please sign in to comment.