Skip to content

Commit

Permalink
add custom pack step on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Jan 3, 2025
1 parent 914f276 commit ba58e4f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,23 @@ jobs:
APPLE_DEV_TEAM_ID: ${{ secrets.APPLE_DEV_TEAM_ID }}
APPLE_DEV_APP_ID: ${{ secrets.APPLE_DEV_APP_ID }}

- name: Windows - Delete compilation files
if: ${{ matrix.platform == 'windows' }}
shell: pwsh
run: |
Remove-Item bin/* -Include *.exp,*.lib,*.pdb -Force
- name: Pack
if: ${{ matrix.platform != 'windows' }}
run: make pack

- name: Pack - Windows
if: ${{ matrix.platform == 'windows' }}
run: |
New-Item -ItemType Directory -Path "bin/pack"
Copy-Item -Recurse -Force -Path "demo/addons" -Destination "bin/pack/"
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/"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit ba58e4f

Please sign in to comment.