From baee8f63a1395031b4462583d4e746baad0e065f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Lovni=C4=8Dki?= Date: Thu, 7 Jan 2021 00:50:19 +0100 Subject: [PATCH] {build.yml}: [add] artifact upload --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6dfda7..1a30038 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" @@ -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