Skip to content

Commit

Permalink
Merge pull request #36 from asus4/skip-linux-gpu
Browse files Browse the repository at this point in the history
Skip linux GPU from NPM publish
  • Loading branch information
asus4 authored Nov 21, 2024
2 parents 8f3f91f + 3186c38 commit ebd3be1
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 39 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
- name: Publish all NPM packages
run: |
for dir in com.github.asus4.*; do
# Skip publishing Linux GPU as it's too big for NPM package
if [ "$dir" == "com.github.asus4.linux-x64-gpu" ]; then
continue
fi
cd ${{ github.workspace }}/$dir
cp ../README.md .
npm publish ${{ env.NPM_OPTS }}
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,10 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.2.3",
"com.github.asus4.onnxruntime.unity": "0.2.3",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime-extensions": "0.2.3",
"com.github.asus4.onnxruntime": "0.2.4",
"com.github.asus4.onnxruntime.unity": "0.2.4",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime-extensions": "0.2.4",
... other dependencies
}
```
Expand Down
10 changes: 5 additions & 5 deletions com.github.asus4.onnxruntime-extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.2.3",
"com.github.asus4.onnxruntime.unity": "0.2.3",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.extensions": "0.2.3",
"com.github.asus4.onnxruntime": "0.2.4",
"com.github.asus4.onnxruntime.unity": "0.2.4",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime.extensions": "0.2.4",
... other dependencies
}
```
Expand Down
4 changes: 2 additions & 2 deletions com.github.asus4.onnxruntime-extensions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.github.asus4.onnxruntime-extensions",
"version": "0.2.3",
"version": "0.2.4",
"displayName": "ONNX Runtime Extensions",
"description": "ONNX Runtime Extensions for Unity",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"unity": "2022.3",
"unityRelease": "0f1",
"dependencies": {
"com.github.asus4.onnxruntime": "0.2.3"
"com.github.asus4.onnxruntime": "0.2.4"
},
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions com.github.asus4.onnxruntime.linux-x64-gpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.2.3",
"com.github.asus4.onnxruntime.unity": "0.2.3",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.extensions": "0.2.3",
"com.github.asus4.onnxruntime": "0.2.4",
"com.github.asus4.onnxruntime.unity": "0.2.4",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime.extensions": "0.2.4",
... other dependencies
}
```
Expand Down
4 changes: 2 additions & 2 deletions com.github.asus4.onnxruntime.linux-x64-gpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.github.asus4.onnxruntime.linux-x64-gpu",
"version": "0.2.3",
"version": "0.2.4",
"displayName": "ONNX Runtime - Linux x64 GPU",
"description": "ONNX Runtime for Unity - Linux x64 GPU Provider",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"unity": "2022.3",
"unityRelease": "0f1",
"dependencies": {
"com.github.asus4.onnxruntime": "0.2.3"
"com.github.asus4.onnxruntime": "0.2.4"
},
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions com.github.asus4.onnxruntime.unity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.2.3",
"com.github.asus4.onnxruntime.unity": "0.2.3",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.extensions": "0.2.3",
"com.github.asus4.onnxruntime": "0.2.4",
"com.github.asus4.onnxruntime.unity": "0.2.4",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime.extensions": "0.2.4",
... other dependencies
}
```
Expand Down
4 changes: 2 additions & 2 deletions com.github.asus4.onnxruntime.unity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.github.asus4.onnxruntime.unity",
"version": "0.2.3",
"version": "0.2.4",
"displayName": "ONNX Runtime Unity Utilities",
"description": "ONNX Runtime Utilities for Unity",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"unity": "2022.3",
"unityRelease": "0f1",
"dependencies": {
"com.github.asus4.onnxruntime": "0.2.3"
"com.github.asus4.onnxruntime": "0.2.4"
},
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions com.github.asus4.onnxruntime.win-x64-gpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.2.3",
"com.github.asus4.onnxruntime.unity": "0.2.3",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.extensions": "0.2.3",
"com.github.asus4.onnxruntime": "0.2.4",
"com.github.asus4.onnxruntime.unity": "0.2.4",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime.extensions": "0.2.4",
... other dependencies
}
```
Expand Down
4 changes: 2 additions & 2 deletions com.github.asus4.onnxruntime.win-x64-gpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.github.asus4.onnxruntime.win-x64-gpu",
"version": "0.2.3",
"version": "0.2.4",
"displayName": "ONNX Runtime - Windows x64 GPU",
"description": "ONNX Runtime for Unity - Windows x64 GPU Provider",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"unity": "2022.3",
"unityRelease": "0f1",
"dependencies": {
"com.github.asus4.onnxruntime": "0.2.3"
"com.github.asus4.onnxruntime": "0.2.4"
},
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions com.github.asus4.onnxruntime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.2.3",
"com.github.asus4.onnxruntime.unity": "0.2.3",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.3",
"com.github.asus4.onnxruntime.extensions": "0.2.3",
"com.github.asus4.onnxruntime": "0.2.4",
"com.github.asus4.onnxruntime.unity": "0.2.4",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.2.4",
"com.github.asus4.onnxruntime.extensions": "0.2.4",
... other dependencies
}
```
Expand Down
2 changes: 1 addition & 1 deletion com.github.asus4.onnxruntime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.github.asus4.onnxruntime",
"version": "0.2.3",
"version": "0.2.4",
"displayName": "ONNX Runtime",
"description": "ONNX Runtime Plugin for Unity",
"keywords": [
Expand Down

0 comments on commit ebd3be1

Please sign in to comment.