From 82fa00d13cbde4f6900b847d29c8975b68eee81a Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Sun, 11 Aug 2024 14:08:52 -0700 Subject: [PATCH] fix: meh --- .github/workflows/main.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 755a605..19985fd 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -106,11 +106,13 @@ jobs: with: name: 'cpp2b-${{ matrix.os }}' - uses: actions/cache/restore@v4 - if: "'${{ matrix.os }}' == 'ubuntu-24.04'" + if: "!contains(matrix.os, 'windows')" with: path: /tmp/llvm-project/build key: 'libcxx-${{ env.LLVM_VERSION }}' - - run: 'mv ${{ steps.cpp2b-binary.outputs.download-path }}/cpp2b ${{ steps.cpp2b-binary.outputs.download-path }}/cpp2b.exe' - if: "'${{ matrix.os }}' == 'ubuntu-24.04'" - - run: '${{ steps.cpp2b-binary.outputs.download-path }}/cpp2b.exe build' + - run: 'chmod +x ./cpp2b && ./cpp2b build' + if: "!contains(matrix.os, 'windows')" working-directory: "examples/${{ matrix.example }}" + - run: .\cpp2b.exe build + if: "contains(matrix.os, 'windows')" + working-directory: 'examples/${{ matrix.example }}'