Prepare special artifact for Endless #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 🚀 Prepare Windows-Ready Projects | ||
|
Check failure on line 1 in .github/workflows/prepare_composite.yml
|
||
| on: | ||
| workflow_call: | ||
| # Endless has requested a special version of moddable-platformer with: | ||
| # 1. Patchwork installed | ||
| # 2. Godot for Windows installed in godot_editor/ | ||
| # 3. Launch and update scripts from LilithSilver/patchwork-update-script | ||
| # moddable-platformer-with-patchwork already provides 1, so we just need to handle 2 and 3 | ||
| prepare-moddable-platformer-composite: | ||
| runs-on: ubuntu-latest | ||
| name: ✉️ Release ${{ matrix.artifact }} | ||
| steps: | ||
| - name: Acquire moddable-platformer-with-patchwork | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: moddable-platformer-with-patchwork | ||
| path: ${{ github.workspace }} | ||
| - name: Acquire godot-windows | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: godot-with-patchwork-windows | ||
| path: ${{ github.workspace }} | ||
| - name: Copy Godot into moddable-platformer | ||
| run: | | ||
| mkdir moddable-platformer-with-patchwork/godot_editor | ||
| cp godot-with-patchwork-windows/* moddable-platformer-with-patchwork/godot_editor | ||
| - name: Checkout update scripts | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
| path: patchwork-update-script | ||
| repository: LilithSilver/patchwork-update-script | ||
| - name: Copy batch and ps1 files | ||
| run: | | ||
| mkdir moddable-platformer-with-patchwork/godot_editor | ||
| cp patchwork-update-script/*.{cmd,ps1} moddable-platformer-with-patchwork | ||
| - name: Merge .gitignore | ||
| run: cat patchwork-update-script/.gitignore >> moddable-platformer-with-patchwork/.gitignore | ||
| - name: Upload artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: moddable-platformer-windows-ready | ||
| path: | | ||
| moddable-platformer-with-patchwork/* | ||
| if-no-files-found: error | ||