trying to fix release
CI / check (push) Successful in 1m54s
Native release / linux (push) Successful in 2m2s
Native release / windows (push) Failing after 3m55s
Native release / publish (push) Skipped

Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-11-27 22:38:44 +03:00
1 parent 67fba6c7e2
commit f9a3d8dbf1
1 file changed
+2 -6
+2 -6
View File
@@ -88,9 +88,6 @@ jobs:
defaults:
run:
shell: powershell
env:
RUSTFLAGS: -C target-feature=+crt-static
VCPKGRS_DISABLE: '1'
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
@@ -125,9 +122,8 @@ jobs:
$dist = Join-Path $env:RUNNER_TEMP ('release-windows-' + [guid]::NewGuid())
$env:CARGO_TARGET_DIR = Join-Path $env:RUNNER_TEMP ('build-windows-' + [guid]::NewGuid())
New-Item -ItemType Directory -Path $dist | Out-Null
cargo build --release --target x86_64-pc-windows-msvc --features vendored-lua,curl/static-curl
$binary = Join-Path $env:CARGO_TARGET_DIR 'x86_64-pc-windows-msvc\release\rusty-path-of-building.exe'
& $binary --version
cargo build --release --features vendored-lua
$binary = Join-Path $env:CARGO_TARGET_DIR 'release\rusty-path-of-building.exe'
$imports = & dumpbin.exe /DEPENDENTS $binary
$dlls = @($imports | ForEach-Object { if ($_ -match '^\s+([\w.-]+\.dll)\s*$') { $Matches[1].ToLowerInvariant() } })
if ($dlls.Count -eq 0) { throw 'Could not inspect PE imports' }