Skip to content

Commit

Permalink
fix workflow issues with artifacts (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool authored Dec 12, 2024
1 parent c8489ec commit 56511d9
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release-dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
- name: Upload Android artifacts
uses: actions/upload-artifact@v3
with:
name: android-artifacts
name: dart-android-artifacts
path: |
jniLibs/arm64-v8a/
jniLibs/armeabi-v7a/
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
- name: Upload iOS artifacts
uses: actions/upload-artifact@v3
with:
name: ios-artifacts
name: dart-ios-artifacts
path: universal/libyttrium_dart_universal.dylib

create-github-release:
Expand All @@ -182,21 +182,23 @@ jobs:
- name: Download Android artifacts
uses: actions/download-artifact@v3
with:
name: artifacts
path: jniLibs/
name: dart-android-artifacts
path: |
jniLibs/arm64-v8a/
jniLibs/armeabi-v7a/
# Download iOS artifacts
- name: Download iOS artifacts
uses: actions/download-artifact@v3
with:
name: artifacts
path: universal/
name: dart-ios-artifacts
path: universal/libyttrium_dart_universal.dylib

# Create artifacts zip
- name: Create artifacts zip
run: |
zip -r android-artifacts.zip jniLibs/
zip -r ios-artifacts.zip universal/
zip ios-artifacts.zip universal/libyttrium_dart_universal.dylib
# Create GitHub Release
- name: Create Release
Expand Down

0 comments on commit 56511d9

Please sign in to comment.