From 0137b6a6a0666c821a21d73c2aed2d9fd6507558 Mon Sep 17 00:00:00 2001 From: Alexander Loren Date: Wed, 26 Aug 2026 14:02:04 -0700 Subject: [PATCH] Fixed path errors, making relative to workspace --- .gitea/workflows/Build Library.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/Build Library.yml b/.gitea/workflows/Build Library.yml index 0ce4bcb..9519ae6 100644 --- a/.gitea/workflows/Build Library.yml +++ b/.gitea/workflows/Build Library.yml @@ -45,20 +45,20 @@ jobs: run: | swift build -c release -Xswiftc -no-verify-emitted-module-interface $binPath = swift build -c release --show-bin-path - New-Item -ItemType Directory -Path artifacts -Force - Copy-Item -Path "$binPath/Logic.dll" -Destination artifacts/ + New-Item -ItemType Directory -Path "${{github.workspace}}/artifacts" -Force + Copy-Item -Path "$binPath/Logic.dll" -Destination "${{github.workspace}}/artifacts/" - name: Bundle DLLs uses: https://git.omgitsalexl.me/omgitsalexl/windows-collect-dependencies@v1.0.3 with: - executable: artifacts/Logic.dll - output: artifacts/ + executable: "${{github.workspace}}/artifacts/Logic.dll" + output: "${{github.workspace}}/artifacts/" - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: Logic-windows - path: artifacts/* + path: "${{github.workspace}}/artifacts/*" ubuntu: name: Ubuntu @@ -78,16 +78,16 @@ jobs: swift build -c release -Xswiftc -no-verify-emitted-module-interface BIN_PATH=$(swift build -c release --show-bin-path) mkdir -p artifacts - cp "$BIN_PATH/libLogic.so" artifacts/ + cp "$BIN_PATH/libLogic.so" "${{github.workspace}}/artifacts/" - name: Bundle Shared Libraries uses: https://git.omgitsalexl.me/omgitsalexl/linux-collect-dependencies@v1.0.1 with: - executable: artifacts/libLogic.so - output: artifacts/ + executable: "${{github.workspace}}/artifacts/libLogic.so" + output: "${{github.workspace}}/artifacts/" - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: Logic-ubuntu - path: artifacts/* + path: "${{github.workspace}}/artifacts/*