Skip to content

Commit

Permalink
updating github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed May 30, 2022
1 parent ace8205 commit 53519f0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
container: ubuntu:21.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install autoconf
run: |
apt-get update -y -qq
apt-get install -y -qq build-essential autoconf${{ env.autoconf_ver }}
- name: run autoreconf
run: |
autoreconf${{ env.autoconf_ver }} -fi
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: configure
path: |
Expand Down Expand Up @@ -64,18 +64,18 @@ jobs:
ghc: "8.8"

steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: '3.4.1.0'

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: configure

- name: Cache
uses: actions/cache@v1
uses: actions/cache@v3
env:
cache-name: cache-cabal
with:
Expand Down Expand Up @@ -124,20 +124,20 @@ jobs:
needs: autoconf

steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
with:
cabal-version: '3.4'

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: configure

- name: run sdist
run: |
cabal sdist
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: dist-tarball
path: dist-newstyle/sdist/network-*
Expand Down

0 comments on commit 53519f0

Please sign in to comment.