Skip to content

Commit

Permalink
Workaround for long paths issue
Browse files Browse the repository at this point in the history
(References: #129)
  • Loading branch information
Aszusz committed Jan 7, 2025
1 parent 6aac93c commit 6ff7f48
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/sub-build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
uses: Moonshine-IDE/setup-haxe-action@master
with:
haxe-version: ${{ env.haxe_version }}

- name: Show haxe info
run: |
echo "Haxe version:"
Expand Down Expand Up @@ -116,15 +116,26 @@ jobs:
haxelib git mxhx-component https://github.com/mxhx-dev/mxhx-component.git
haxelib git mxhx-feathersui https://github.com/mxhx-dev/mxhx-feathersui.git
- name: Map disk
shell: cmd
run: |
echo "Mapping drive X: to current directory..."
subst X: "%CD%"
echo "Directory mapped to X:"
dir X:
- name: Build
if: ${{ !inputs.caching || !steps.cache-bin.outputs.cache-hit }}
run: >
haxelib run openfl build project.xml windows
${{ env.haxe_flag }}
-Dlogverbose
-Dlogcolor
-Dgitsha=${{ github.sha }}
-Dgitbranch=${{ github.ref_name }}
shell: cmd
run: |
echo "Switching to drive X and building..."
X:
haxelib run openfl build project.xml windows ^
%haxe_flag% ^
-Dlogverbose ^
-Dlogcolor ^
-Dgitsha=${{ github.sha }} ^
-Dgitbranch=${{ github.ref_name }}
- name: Show Build
run: ls -r ${{ env.bin_path }}
Expand Down

0 comments on commit 6ff7f48

Please sign in to comment.