Skip to content

Commit f9c187d

Browse files
authored
Merge pull request #4 from bamboo/bamboo/pack
Package extension on Windows as well
2 parents 914f276 + ba58e4f commit f9c187d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/builds.yml

+14
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,23 @@ jobs:
314314
APPLE_DEV_TEAM_ID: ${{ secrets.APPLE_DEV_TEAM_ID }}
315315
APPLE_DEV_APP_ID: ${{ secrets.APPLE_DEV_APP_ID }}
316316

317+
- name: Windows - Delete compilation files
318+
if: ${{ matrix.platform == 'windows' }}
319+
shell: pwsh
320+
run: |
321+
Remove-Item bin/* -Include *.exp,*.lib,*.pdb -Force
322+
317323
- name: Pack
324+
if: ${{ matrix.platform != 'windows' }}
318325
run: make pack
319326

327+
- name: Pack - Windows
328+
if: ${{ matrix.platform == 'windows' }}
329+
run: |
330+
New-Item -ItemType Directory -Path "bin/pack"
331+
Copy-Item -Recurse -Force -Path "demo/addons" -Destination "bin/pack/"
332+
Copy-Item -Recurse -Force -Path "bin/android", "bin/ios", "bin/linux", "bin/macos", "bin/web", "bin/windows", "demo/bin/godot-s7-scheme.gdextension" -Destination "bin/pack/bin/"
333+
320334
- name: Upload Artifact
321335
uses: actions/upload-artifact@v4
322336
with:

0 commit comments

Comments
 (0)