Skip to content

feat: upload build artifacts in CI #6

feat: upload build artifacts in CI

feat: upload build artifacts in CI #6

Workflow file for this run

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/nix-develop@v1.1.0
with:
arguments: "--impure --accept-flake-config"
- run: flutter build apk --release
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: build/app/outputs/flutter-apk/app-release.apk*
- run: echo "Done"