Skip to content

Commit

Permalink
sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
sighphyre committed Oct 30, 2024
1 parent 2240399 commit 0a71087
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/publish-dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,19 @@ jobs:
RELEASE_VERSION: ${{ github.event.inputs.release_version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
binaries=("libyggdrasilffi_aarch64.so dotnet-engine/runtimes/linux-aarch64/native/libyggdrasilffi.so"
"libyggdrasilffi_arm64.so dotnet-engine/runtimes/linux-arm64/native/libyggdrasilffi.so"
"libyggdrasilffi_x86_64.so dotnet-engine/runtimes/linux-x64/native/libyggdrasilffi.so"
"libyggdrasilffi_arm64.dll dotnet-engine/runtimes/win-arm64/native/yggdrasilffi.dll"
"libyggdrasilffi_x86_64.dll dotnet-engine/runtimes/win-x64/native/yggdrasilffi.dll"
"libyggdrasilffi_arm64.dylib dotnet-engine/runtimes/osx-arm64/native/libyggdrasilffi.dylib"
"libyggdrasilffi_x86_64.dylib dotnet-engine/runtimes/osx-x64/native/libyggdrasilffi.dylib")
binaries=("libyggdrasilffi_aarch64.so dotnet-engine/runtimes/linux-aarch64/native libyggdrasilffi.so"
"libyggdrasilffi_arm64.so dotnet-engine/runtimes/linux-arm64/native libyggdrasilffi.so"
"libyggdrasilffi_x86_64.so dotnet-engine/runtimes/linux-x64/native libyggdrasilffi.so"
"libyggdrasilffi_arm64.dll dotnet-engine/runtimes/win-arm64/native yggdrasilffi.dll"
"libyggdrasilffi_x86_64.dll dotnet-engine/runtimes/win-x64/native yggdrasilffi.dll"
"libyggdrasilffi_arm64.dylib dotnet-engine/runtimes/osx-arm64/native libyggdrasilffi.dylib"
"libyggdrasilffi_x86_64.dylib dotnet-engine/runtimes/osx-x64/native libyggdrasilffi.dylib")
for binary in "${binaries[@]}"; do
# Split each item into source (release name) and target path
src_name=$(echo "$binary" | awk '{print $1}')
target_path=$(echo "$binary" | awk '{print $2}')
binary_name=$(echo "$binary" | awk '{print $3}')
echo "Downloading $src_name to $target_path..."
Expand All @@ -56,9 +57,9 @@ jobs:
echo "Error: $src_name could not be downloaded to $target_path."
exit 1
fi
ls -l "$target_path"
done
echo "Downloaded binaries:"
find . -type f -name "libyggdrasilffi*"
echo "Downloaded binaries"
- name: Build
run: |
Expand Down

0 comments on commit 0a71087

Please sign in to comment.