Skip to content

Commit

Permalink
Clean up Build release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
avh4 committed Sep 24, 2020
1 parent 66d6c12 commit e22a3d8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/Build release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,17 @@ jobs:
ghc --version
[[ $(ghc --numeric-version) == 8.8.4 ]]
- uses: actions/cache@v2
name: Cache cabal-v2-${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }}
name: Cache cabal-release-v1-${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }}
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: cabal-v2-${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }}
key: cabal-release-v1-${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }}
- run: cabal v2-update
- run: cabal v2-build --only-dependencies
- run: cabal v2-build --only-dependencies --enable-tests
- run: ./build.sh -- dependencies
- run: ./build.sh -- dist
- name: Sign artifacts
run: |
for i in dist/*; do
gpg --verbose --output "$i".sig --detach-sig "$i"
gpg --verbose --local-user 1508E30E65C8C21F --output "$i".sig --detach-sig "$i"
done
- uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit e22a3d8

Please sign in to comment.