From 3cc80e47c4fcdd6e20ce6bfe68ece1679ace4e6a Mon Sep 17 00:00:00 2001 From: dcvz Date: Fri, 17 May 2024 19:43:59 +0200 Subject: [PATCH] Properly archive build --- .github/workflows/validate.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 1c5334d..3925ce9 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -22,7 +22,7 @@ jobs: - name: ccache uses: hendrikmuhs/ccache-action@v1.2 with: - key: ${{ runner.os }}-z64re-ccache + key: ${{ runner.os }}-z64re-ccache-${{ matrix.type }} - name: Install Linux Dependencies if: runner.os == 'Linux' run: | @@ -78,10 +78,9 @@ jobs: cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=clang++-15 -DCMAKE_C_COMPILER=clang-15 -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build cmake --build cmake-build --config ${{ matrix.type }} --target Zelda64Recompiled -j 8 - - cp cmake-build/Zelda64Recompiled .. - - name: Prepare Assets Folder + - name: Prepare Archive run: | + mv cmake-build/Zelda64Recompiled Zelda64Recompiled rm -rf assets/scss - name: Archive Zelda64Recomp uses: actions/upload-artifact@v4 @@ -103,7 +102,7 @@ jobs: # - name: ccache # uses: hendrikmuhs/ccache-action@v1.2 # with: -# key: ${{ runner.os }}-z64re-ccache +# key: ${{ runner.os }}-z64re-ccache-${{ matrix.type }} # - name: Install Windows Dependencies # run: | # choco install ninja gnupg