Skip to content

Commit 4aa6ec1

Browse files
committed
TEST: Try using defaults
1 parent 964cae5 commit 4aa6ec1

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/windows.yml

+11-12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Windows Build & Test
22

3+
defaults:
4+
run:
5+
shell: bash
6+
working-directory: C:\Dreamweave
7+
38
on:
49
push:
510
branches:
@@ -15,7 +20,6 @@ on:
1520
env:
1621
BUILD_TYPE: Release
1722
GIT_TERMINAL_PROMPT: 0
18-
working-directory: C:\Dreamweave
1923

2024
jobs:
2125
Windows:
@@ -26,7 +30,6 @@ jobs:
2630

2731
steps:
2832
- name: Clone
29-
shell: bash
3033
working-directory: C:\
3134
run: |
3235
git clone https://github.com/DreamWeave-MP/Dreamweave.git
@@ -58,36 +61,32 @@ jobs:
5861

5962
- name: Install Building Dependencies
6063
if: steps.cache-WinDeps.outputs.cache-hit != 'true'
61-
shell: bash
62-
working-directory: ${{ env.working-directory }}
6364
run: |
65+
pwd
66+
ls -R
6467
curl -o CrabNet.7z -L https://github.com/DreamWeave-MP/CrabNet/releases/download/Stable-CI/CrabNet-${{ runner.os }}-${{ matrix.BUILD_TYPE }}.7z
6568
7z x -y CrabNet.7z -oextern/raknet
66-
C:/Dreamweave/CI/before_script.msvc.sh -C -V -N -k -p Win64 -v 2022
69+
CI/before_script.msvc.sh -C -V -N -k -p Win64 -v 2022
6770
6871
- name: Configure
6972
if: steps.cache-WinDeps.outputs.cache-hit == 'true'
70-
shell: bash
71-
working-directory: ${{ env.working-directory }}
7273
run: |
74+
pwd
75+
ls -R
7376
C:/Dreamweave/CI/before_script.msvc.sh -C -V -N -k -p Win64 -v 2022 -d -e
7477
7578
- name: Build
76-
shell: bash
77-
working-directory: ${{ env.working-directory }}
7879
run: |
7980
cd MSVC2022_64_Ninja
8081
source activate_msvc.sh
8182
ninja -f build-${{ matrix.BUILD_TYPE }}.ninja
8283
8384
8485
- name: Package
85-
shell: bash
86-
working-directory: ${{ env.working-directory }}
8786
run: CI/make_package.msvc.sh ${{ matrix.BUILD_TYPE }}
8887

8988
- name: Upload Artifact
9089
uses: actions/upload-artifact@v3
9190
with:
92-
path: ${{ env.working-directory }}/dreamweave-build
91+
path: C:/Dreamweave/dreamweave-build
9392
name: dreamweave_windows-${{ matrix.BUILD_TYPE }}

0 commit comments

Comments
 (0)