Skip to content

Commit

Permalink
feat: bring back artifacts directory in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SyedAhkam committed Apr 22, 2024
1 parent 639ee80 commit ab57afb
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,18 @@ jobs:
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: 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: app-release.apk.sha1
path: build/app/outputs/flutter-apk/app-release.apk.sha1
name: glyph-studio.zip
path: ./artifacts

0 comments on commit ab57afb

Please sign in to comment.