Skip to content

Commit

Permalink
{build.yml}: [add] artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
slovnicki committed Jan 6, 2021
1 parent fb87233 commit baee8f6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ on:
# Triggers the workflow on push events but only for the release branch
push:
branches: [release]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand All @@ -26,3 +24,9 @@ jobs:
- run: flutter pub get
- run: flutter build apk
- run: flutter build ios --release --no-codesign
# upload builds to artifact
# TODO ios ipa later
- uses: actions/upload-artifact@v2
with:
name: builds
path: build/app/outputs/apk/release/app-release.apk

0 comments on commit baee8f6

Please sign in to comment.