Skip to content

Commit

Permalink
Bump CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj committed Sep 30, 2024
1 parent 2125cea commit c378b36
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c378b36

Please sign in to comment.