From 23ca1ea6733d71f50ad11ee745ddd3ae1cf5e7f9 Mon Sep 17 00:00:00 2001 From: Yuto Takano Date: Sun, 11 Aug 2024 00:13:21 +0100 Subject: [PATCH] Reduce nested archives in CI artifact --- .github/workflows/windows-ci.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/windows-ci.yaml b/.github/workflows/windows-ci.yaml index 2e7aa2a..d4984b2 100644 --- a/.github/workflows/windows-ci.yaml +++ b/.github/workflows/windows-ci.yaml @@ -8,7 +8,7 @@ jobs: runs-on: windows-latest strategy: matrix: - ghc: ["8.8.4", "8.10.7", "9.4.8"] + ghc: ["8.8.4"] steps: - name: Set up GHC @@ -17,7 +17,7 @@ jobs: ghc-version: ${{ matrix.ghc }} - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Update cabal run: cabal update @@ -29,14 +29,13 @@ jobs: - name: Create a zip with exe file and assets run: | - mkdir -p exe - cp $(cabal list-bin Game) exe/ - cp -r assets exe/ - cp sdl2_win_mingw/bin/SDL2.dll exe/ - 7z a exe.zip exe + mkdir -p Game + cp $(cabal list-bin Game) Game/ + cp -r assets Game/ + cp sdl2_win_mingw/bin/SDL2.dll Game/ - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: windows-artifacts - path: exe.zip + name: windows-build + path: Game