Skip to content

Commit c46c9f4

Browse files
Ugh. macOS uses dylib.
1 parent 7c95983 commit c46c9f4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/sokatoa-create-release-from-tag.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,12 @@ jobs:
6060
shell: bash
6161
run: |
6262
mkdir ${{ github.event.inputs.RELEASE_TAG }}
63-
ls -R build
6463
cp build/bin/dxc ${{ github.event.inputs.RELEASE_TAG }}
65-
cp build/lib/libdxcompiler.so ${{ github.event.inputs.RELEASE_TAG }}
64+
if [ "$RUNNER_OS" == "Linux" ]; then
65+
cp build/lib/libdxcompiler.so ${{ github.event.inputs.RELEASE_TAG }}
66+
else
67+
cp build/lib/libdxcompiler.dylib ${{ github.event.inputs.RELEASE_TAG }}
68+
fi
6669
tar -czvf ${{ github.event.inputs.RELEASE_TAG }}_${{ runner.os }}.tar.gz -C ${{ github.event.inputs.RELEASE_TAG }} `ls -A ${{ github.event.inputs.RELEASE_TAG }}`
6770
6871
- name: Archive results

0 commit comments

Comments
 (0)