Skip to content

Commit

Permalink
Reduce nested archives in CI artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotakano committed Aug 10, 2024
1 parent 11eefdf commit d0232cd
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/windows-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit d0232cd

Please sign in to comment.