From 0a71087a3632a9d89fd62cd8de26bb4a9e0c2dd5 Mon Sep 17 00:00:00 2001 From: Simon Hornby Date: Wed, 30 Oct 2024 16:01:44 +0200 Subject: [PATCH] sanity check --- .github/workflows/publish-dotnet.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-dotnet.yaml b/.github/workflows/publish-dotnet.yaml index a9d68b0..5c380cf 100644 --- a/.github/workflows/publish-dotnet.yaml +++ b/.github/workflows/publish-dotnet.yaml @@ -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..." @@ -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: |