Skip to content

Commit

Permalink
upload
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Nov 24, 2023
1 parent e177239 commit c467b02
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/arm-linux-gnueabihf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,18 @@ jobs:
cp -v ./include/onnxruntime/core/session/onnxruntime_float16.h ./onnxruntime-linux-arm-$version/include
zip -r onnxruntime-linux-arm-${version}.zip ./onnxruntime-linux-arm-$version/
- name: Upload v${{ env.ONNXRUNTIME_VERSION }}
if: steps.cache-build-result.outputs.cache-hit != 'true'
uses: svenstaro/upload-release-action@v2
with:
file_glob: true
file: "./*.zip"
overwrite: true
tag: v${{ env.ONNXRUNTIME_VERSION }}


# https://huggingface.co/docs/hub/spaces-github-actions
- name: Publish to huggingface
if: github.repository_owner == 'csukuangfj' && steps.cache-build-result.outputs.cache-hit != 'true'
Expand All @@ -194,8 +206,6 @@ jobs:
tree ./onnxruntime-linux-arm-$version/
zip -r onnxruntime-linux-arm-${version}.zip ./onnxruntime-linux-arm-$version/
git config --global user.email "csukuangfj@gmail.com"
git config --global user.name "Fangjun Kuang"
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,15 @@ jobs:
ls -lh onnxruntime.xcframework-${{ env.ONNXRUNTIME_VERSION }}.tar.bz2
- name: Upload v${{ env.ONNXRUNTIME_VERSION }}
if: steps.cache-build-result.outputs.cache-hit != 'true'
uses: svenstaro/upload-release-action@v2
with:
file_glob: true
file: "./*.tar.bz2"
overwrite: true
tag: v${{ env.ONNXRUNTIME_VERSION }}

- name: Upload artifact
if: steps.cache-build-result.outputs.cache-hit != 'true'
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit c467b02

Please sign in to comment.