Skip to content

Commit

Permalink
Build: remove the *.a files from Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed May 18, 2024
1 parent 6dcfea1 commit 0420b5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/Test-UpToDate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
[switch] $GenerateResultKey,
[string] $CacheKeyFile = "$RepoRoot/.github/cache-key.json",
[string] $ResultKeyFile = "$ArtifactsDirectory/cache-key.json",
[string] $CacheVersion = 'v1'
[string] $CacheVersion = 'v2'
)

$ErrorActionPreference = 'Stop'
Expand Down
2 changes: 1 addition & 1 deletion linux/prepare-artifacts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ($SkipUpToDateCheck -or !$(& $CheckUpToDateScript)) {
if (!(Test-Path -LiteralPath $TargetLocation -Type Container)) {
New-Item -Type Directory $TargetLocation
}
Copy-Item "$InstallPrefix/lib/*" $TargetLocation
Copy-Item "$InstallPrefix/lib/*" -Exclude '*.a' $TargetLocation
& $CheckUpToDateScript -GenerateResultKey
} else {
Write-Host 'The build result is up to date.'
Expand Down

0 comments on commit 0420b5b

Please sign in to comment.