Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cd.yml #17

Merged
merged 1 commit into from
Dec 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:

# Only run this job if the "CI" workflow was successful
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
# Step 1: Checkout the repository
- name: Checkout repository
Expand All @@ -39,14 +40,10 @@ jobs:
# Step 3: Install project dependencies
- name: Install dependencies
run: flutter pub get
- name: List directory contents
run: ls -R
# Step 4: Increment version code and version name
- name: Increment version and build release APK
run: |
chmod +x ./android/increment_version.sh
./android/increment_version.sh
flutter build apk --release

# Step 4: Build APK release
- name: Build APK release
run: flutter build apk --release

# Step 5: Build APP bundle
- name: Build APP bundle
Expand Down