Skip to content

Commit

Permalink
chore: zip and upload files
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed Jan 30, 2025
1 parent f6daf60 commit 45a3d53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/generate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
PLATFORM: ${{ inputs.platform == 'android' && 'android' || 'ios' }}
SUFFIX: ${{ inputs.release == 'true' && ':release' || '' }}
run:
yarn "generate:$PLATFORM$SUFFIX"
yarn generate:$PLATFORM$SUFFIX

- name: Free space
shell: bash
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: libs
name: android-libs
path: android/**/*.a
if-no-files-found: error

Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: libs
name: android-libs
path: android

- uses: actions/download-artifact@v4
Expand All @@ -77,10 +77,8 @@ jobs:
# TODO: Consume from input
tag=0.4.0
# TODO: compress & upload
# gh release upload "$tag" "$FILE"
zip -vr xcframework.zip build/*.xcframework
zip -v android-libs.zip ndroid/**/*.a
- name: TODO
run: tree


gh release upload "$tag" xcframework.zip --clobber
gh release upload "$tag" xcframework.zip --clobber

0 comments on commit 45a3d53

Please sign in to comment.