Skip to content

Commit

Permalink
GH Actions use glob paths
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanCheatham committed Sep 29, 2024
1 parent 5cd5622 commit 82a6499
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/_build_dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
with:
name: cli-staker
path: "dart/frontend/build/bin/staker"
if-no-files-found: error

- name: Frontend Build Web
working-directory: ./dart/frontend
Expand All @@ -57,6 +58,7 @@ jobs:
with:
name: web-frontend-dist
path: "dart/frontend/build/web"
if-no-files-found: error

- name: Frontend Build Android
working-directory: ./dart/frontend
Expand All @@ -67,18 +69,21 @@ jobs:
with:
name: android-arm64-v8a-frontend-dist
path: "dart/frontend/build/app/outputs/flutter-apk/app-arm64-v8a-release.apk"
if-no-files-found: error

- name: Upload Android Frontend (armeabi-v7a)
uses: actions/upload-artifact@v4
with:
name: android-armeabi-v7a-frontend-dist
path: "dart/frontend/build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk"
if-no-files-found: error

- name: Upload Android Frontend (x86_64)
uses: actions/upload-artifact@v4
with:
name: android-x86_64-frontend-dist
path: "dart/frontend/build/app/outputs/flutter-apk/app-x86_64-release.apk"
if-no-files-found: error

- name: Frontend Build Linux
working-directory: ./dart/frontend
Expand All @@ -88,4 +93,5 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: linux-deb-frontend-dist
path: "dart/frontend/build/linux/x64/release/debian/giraffe_1.0.0_amd64.deb"
path: "dart/frontend/build/linux/x64/release/debian/giraffe_*_amd64.deb"
if-no-files-found: error
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
android-arm64-v8a/app-arm64-v8a-release.apk
android-armeabi-v7a/app-armeabi-v7a-release.apk
android-x86_64/app-x86_64-release.apk
linux-deb/giraffe_1.0.0_amd64.deb
linux-deb/giraffe_*_amd64.deb
publish-docker-images:
uses: ./.github/workflows/_docker_publish.yml
Expand Down

0 comments on commit 82a6499

Please sign in to comment.