Skip to content

Commit

Permalink
Remove extra meta files
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKahr committed Dec 1, 2024
1 parent 7a179a6 commit cd5daf8
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,24 @@ jobs:
lipo -create osx-arm64/native/libCysharp.Net.Http.YetAnotherHttpHandler.Native.dylib osx-x64/native/libCysharp.Net.Http.YetAnotherHttpHandler.Native.dylib -output osx-universal/libCysharp.Net.Http.YetAnotherHttpHandler.Native.dylib
rm -rf osx-arm64
rm -rf osx-x64
rm -f osx-arm64.meta osx-x64.meta
- name: Zip Package
- name: Find Package Contents
run: |
cd YetAnotherHttpHandler/src
ditto -c -k --sequesterRsrc --keepParent YetAnotherHttpHandler ../../YetAnotherHttpHandler-${{ github.event.inputs.version }}.zip
echo "YetAnotherHttpHandler.meta" > metalist
find YetAnotherHttpHandler/ -name \*.meta >> metalist
- name: Create Unity Package
uses: pCYSl5EDgo/create-unitypackage@v1.2.3
with:
package-path: "${{ github.workspace }}/YetAnotherHttpHandler-${{ github.event.inputs.version }}.unitypackage"
include-files: metaList
working-folder: YetAnotherHttpHandler/src

- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: YetAnotherHttpHandler-${{ github.event.inputs.version }}.zip
files: YetAnotherHttpHandler-${{ github.event.inputs.version }}.unitypackage
make_latest: "true"
tag_name: ${{ github.event.inputs.version }}

0 comments on commit cd5daf8

Please sign in to comment.