From c378b3638e39a75ceb8b3a4f3fd459e022f74ba4 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Mon, 30 Sep 2024 14:16:49 +0200 Subject: [PATCH] Bump CI --- .github/workflows/binaries.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index 5f130fd..8cb228c 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -26,9 +26,9 @@ jobs: id: get_version run: 'echo ::set-output name=version::${GITHUB_REF#refs/tags/}' - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/cache@v2 + - uses: actions/cache@v3 name: Cache ~/.stack with: path: | @@ -38,10 +38,13 @@ jobs: restore-keys: "${{ runner.os }}-stack-${{ matrix.stack }}-ghc-${{ matrix.ghc }}-" - name: Setup Haskell Stack - uses: haskell/actions/setup@v1 + uses: haskell-actions/setup@v2 with: + ghc-version: ${{ matrix.ghc }} enable-stack: true + stack-version: 'latest' stack-no-global: true + stack-setup-ghc: true - name: Build run: stack build @@ -56,11 +59,11 @@ jobs: mkdir -p artifacts mv goldplate.tar.gz artifacts/goldplate-$VERSION-$PLATFORM-x86_64.tar.gz - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: startsWith(github.ref, 'refs/tags/v') with: path: artifacts/* - name: artifacts + name: artifacts-${{ runner.os }}-${{ matrix.ghc }} release: name: Release @@ -73,9 +76,9 @@ jobs: id: get_version run: 'echo ::set-output name=version::${GITHUB_REF#refs/tags/}' - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: - name: artifacts + name: pattern: artifacts-* - name: Display structure of downloaded files run: ls -R