Skip to content

feat: bring back artifacts directory in CI #13

feat: bring back artifacts directory in CI

feat: bring back artifacts directory in CI #13

Workflow file for this run

name: Build
on:
push:
branches:
- master
jobs:
build:

Check failure on line 9 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
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: Move files to artifacts directory
run: |
mkdir -p artifacts
mv build/app/outputs/flutter-apk/app-release.apk artifacts/
mv build/app/outputs/flutter-apk/app-release.apk.sha1 artifacts/
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: glyph-studio.zip
path: ./artifacts