Skip to content

Commit

Permalink
Update CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mniip committed Nov 18, 2024
1 parent a634a9d commit 405a23a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
name: Build on Linux, GHC ${{ matrix.ghc_version }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc_version }}
cabal-version: "3.10.1.0"
- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-stack-${{ matrix.ghc_version }}
Expand All @@ -57,15 +57,15 @@ jobs:
name: Build source tarball
if: github.event_name == 'release'
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
cabal-version: "3.10.1.0"
- name: cabal sdist
run: |
cabal sdist --output-dir "$GITHUB_WORKSPACE/sdist"
echo "dist=$(find "$GITHUB_WORKSPACE/sdist" -maxdepth 1 -type f -name '*.tar.gz')" >> "$GITHUB_ENV"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Source tarball
path: ${{ env.dist }}
Expand Down

0 comments on commit 405a23a

Please sign in to comment.