From 231bc7a056afd5aaabbd1a03cb2181291dc427dd Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sun, 16 Jul 2023 02:57:41 +0800 Subject: [PATCH] ... --- .github/workflows/dylib.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dylib.yml b/.github/workflows/dylib.yml index 60bdc2be..5ea58086 100644 --- a/.github/workflows/dylib.yml +++ b/.github/workflows/dylib.yml @@ -12,20 +12,12 @@ jobs: run: | Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicParsing).Content xmake --version - - name: Compile 01 - shell: bash - run: | + - name: Compile mkdir -p output/windows/x86_64 cd dylib - - name: Compile 02 - shell: powershell - run: | - xmake f -p windows -a x64 - xmake - - name: Compile 03 - shell: bash - run: | - cp build/windows/x64/release/test.dll ../output/windows/x86_64 + pwsh -Command "xmake f -p windows -a x86_64" + pwsh -Command "xmake" + cp build/windows/x86_64/release/test.dll ../output/windows/x86_64 - uses: actions/upload-artifact@v3 with: path: output