Skip to content

Commit

Permalink
Replace "hub release" with "gh release" in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-espedal committed Mar 9, 2024
1 parent f137a7b commit 368b661
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
cd ndll
find Android -type f -name "*.so" | sed 's/\// /' | while read dir asset; do
zip -j $dir-$asset.zip $dir/$asset
hub release edit -a $dir-$asset.zip#$dir/$asset -m "" "ndll/${INPUT_NDLL_HASH}"
gh release upload "ndll/${INPUT_NDLL_HASH}" $dir-$asset.zip#$dir/$asset
done
hashlink-ndll:
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
CYGWIN*|MINGW32*|MSYS*|MINGW*) powershell Compress-Archive $dir/$asset $dir-$asset.zip ;;
*) zip -j $dir-$asset.zip $dir/$asset ;;
esac
hub release edit -a $dir-$asset.zip#$dir/$asset -m "" "ndll/${INPUT_NDLL_HASH}"
gh release upload "ndll/${INPUT_NDLL_HASH}" $dir-$asset.zip#$dir/$asset
done
ios-ndll:
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
cd ndll
find iPhone -type f -name "*.a" | sed 's/\// /' | while read dir asset; do
zip -j $dir-$asset.zip $dir/$asset
hub release edit -a $dir-$asset.zip#$dir/$asset -m "" "ndll/${INPUT_NDLL_HASH}"
gh release upload "ndll/${INPUT_NDLL_HASH}" $dir-$asset.zip#$dir/$asset
done
linux-ndll:
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
cd ndll
find Linux* -type f -name "*.ndll" | sed 's/\// /' | while read dir asset; do
zip -j $dir-$asset.zip $dir/$asset
hub release edit -a $dir-$asset.zip#$dir/$asset -m "" "ndll/${INPUT_NDLL_HASH}"
gh release upload "ndll/${INPUT_NDLL_HASH}" $dir-$asset.zip#$dir/$asset
done
macos-ndll:
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
cd ndll
find Mac* -type f -name "*.ndll" | sed 's/\// /' | while read dir asset; do
zip -j $dir-$asset.zip $dir/$asset
hub release edit -a $dir-$asset.zip#$dir/$asset -m "" "ndll/${INPUT_NDLL_HASH}"
gh release upload "ndll/${INPUT_NDLL_HASH}" $dir-$asset.zip#$dir/$asset
done
windows-ndll:
Expand Down Expand Up @@ -402,5 +402,5 @@ jobs:
cd ndll
find Windows* -type f -name "*.ndll" | sed 's/\// /' | while read dir asset; do
powershell Compress-Archive $dir/$asset $dir-$asset.zip
hub release edit -a $dir-$asset.zip#$dir/$asset -m "" "ndll/${INPUT_NDLL_HASH}"
gh release upload "ndll/${INPUT_NDLL_HASH}" $dir-$asset.zip#$dir/$asset
done

0 comments on commit 368b661

Please sign in to comment.