Skip to content

Commit

Permalink
👷 Update release.yml (android release)
Browse files Browse the repository at this point in the history
  • Loading branch information
TESLA2402 authored Nov 19, 2023
1 parent e50e8ef commit 9c50712
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,32 @@ jobs:
with:
name: web-release
path: ./build/web


# Create Android Build
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: "12.x"
cache: gradle
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true

- name: Get dependencies
run: flutter pub get
- name: Upgrade dependencies
run: flutter pub upgrade
# Runs a set of commands using the runners shell
- name: Start release build
run: flutter build apk --no-tree-shake-icons --debug
- name: Create Release
uses: ncipollo/release-action@v1.13.0
with:
artifacts: "./build/app/outputs/flutter-apk/app-debug.apk"
tag: v1.0.${{ github.run_number }}
# - name: Copy Build Files to Deployment Repository
# run: |
# mkdir deployment
Expand Down

0 comments on commit 9c50712

Please sign in to comment.