Skip to content

Commit b47394d

Browse files
committed
more stupid path hacks
1 parent 6a72abe commit b47394d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ jobs:
7171
strategy:
7272
fail-fast: false
7373
matrix:
74-
target:
75-
- "x86_64-pc-windows-msvc"
74+
# target:
75+
# - "x86_64-pc-windows-msvc"
7676
profile:
7777
- "debug"
7878
- "release"
@@ -123,15 +123,15 @@ jobs:
123123
mv ./nobodywho/* C:/
124124
cd C:/
125125
# Use an even shorter target directory to avoid path length issues with git dependencies
126-
cargo build -p nobodywho-${{ matrix.integration }} --verbose --target ${{ matrix.target }} ${{ matrix.profile == 'release' && '--release' || '' }} --locked --target-dir C:/t
126+
cargo build -p nobodywho-${{ matrix.integration }} --verbose ${{ matrix.profile == 'release' && '--release' || '' }} --locked --target-dir C:/t
127127
env:
128128
RUSTFLAGS: >-
129129
-l Advapi32
130130
131131
- name: "Rename built files"
132132
run: |
133-
cp C:/t/${{ matrix.target }}/${{ matrix.profile }}/nobodywho_${{ matrix.integration }}.dll ./nobodywho-${{ matrix.integration }}-${{ matrix.target }}-${{ matrix.profile }}.dll
134-
cp C:/t/${{ matrix.target }}/${{ matrix.profile }}/nobodywho_${{ matrix.integration }}.pdb ./nobodywho-${{ matrix.integration }}-${{ matrix.target }}-${{ matrix.profile }}.pdb
133+
cp C:/t/${{ matrix.profile }}/nobodywho_${{ matrix.integration }}.dll ./nobodywho-${{ matrix.integration }}-${{ matrix.target }}-${{ matrix.profile }}.dll
134+
cp C:/t/${{ matrix.profile }}/nobodywho_${{ matrix.integration }}.pdb ./nobodywho-${{ matrix.integration }}-${{ matrix.target }}-${{ matrix.profile }}.pdb
135135
136136
- name: "Upload build artifacts"
137137
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)