fix: list files explicitly in action #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |