Skip to content

Commit 4135f29

Browse files
committed
Copy all lib files
1 parent 4023d3e commit 4135f29

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/bcny-firebase.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,18 @@ jobs:
5252
Copy-Item "${{ github.workspace }}/BinaryCache/firebase/external/src/firestore/Firestore/core/include/firebase/firestore/firestore_errors.h" "${{ github.workspace }}/BuildRoot/Library/firebase/usr/include/firebase/firestore/firestore_errors.h"
5353
Copy-Item "${{ github.workspace }}/BinaryCache/firebase/external/src/firestore/Firestore/core/include/firebase/firestore/geo_point.h" "${{ github.workspace }}/BuildRoot/Library/firebase/usr/include/firebase/firestore/geo_point.h"
5454
Copy-Item "${{ github.workspace }}/BinaryCache/firebase/external/src/firestore/Firestore/core/include/firebase/firestore/timestamp.h" "${{ github.workspace }}/BuildRoot/Library/firebase/usr/include/firebase/firestore/timestamp.h"
55-
Copy-Item "${{ github.workspace }}/BinaryCache/firebase/external/src/firestore-build/Firestore/core/Release/firestore_nanopb.lib" "${{ github.workspace }}/BuildRoot/Library/firebase/usr/libs/windows/firestore_nanopb.lib"
56-
Copy-Item "${{ github.workspace }}/BinaryCache/firebase/external/src/firestore-build/Firestore/core/Release/firestore_util.lib" "${{ github.workspace }}/BuildRoot/Library/firebase/usr/libs/windows/firestore_util.lib"
57-
Copy-Item "${{ github.workspace }}/BinaryCache/firebase/external/src/firestore-build/Firestore/core/Release/firestore_core.lib" "${{ github.workspace }}/BuildRoot/Library/firebase/usr/libs/windows/firestore_core.lib"
55+
56+
Write-Host "Copying .lib files into place..."
57+
$sourceDirectory = "${{ github.workspace }}/BinaryCache/firebase"
58+
$destinationDirectory = "${{ github.workspace }}/BuildRoot/Library/firebase/usr/libs/windows"
59+
60+
$libFiles = Get-ChildItem -Path $sourceDirectory -File -Recurse -Filter *.lib
61+
62+
foreach ($file in $libFiles) {
63+
$destinationPath = Join-Path -Path $destinationDirectory -ChildPath $file.Name
64+
Copy-Item -Path $file.FullName -Destination $destinationPath -Force
65+
Write-Host "Copy operation completed for ${destinationPath}"
66+
}
5867
- uses: actions/upload-artifact@v3
5968
with:
6069
name: firebase-windows-amd64

0 commit comments

Comments
 (0)