-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (30 loc) · 864 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-23.11
- name: Nix Develop Action
uses: nicknovitski/[email protected]
with:
arguments: "--impure --accept-flake-config"
- run: flutter build apk --release
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: app-release.apk
path: build/app/outputs/flutter-apk/app-release.apk
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: app-release.apk.sha1
path: build/app/outputs/flutter-apk/app-release.apk.sha1