Skip to content

Commit

Permalink
Merge pull request #14 from konn/konn/release-ci
Browse files Browse the repository at this point in the history
Prepare release of 0.7.1.0
  • Loading branch information
konn authored Jan 2, 2025
2 parents 3f22ba5 + 85796c2 commit 460d617
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/haskell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
enable-stack: false

- name: Cache ~/.cabal/store
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-cabal-store
with:
Expand All @@ -55,7 +55,7 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Cache dist-newstyle
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-dist-newstyle
with:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release
on:
push:
tags:
- "v[0-9]*"

jobs:
hackage-release:
name: Release to Hackage
if: >
github.event_name == 'push'
&& startsWith(github.ref, 'refs/tags/')
environment: hackage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: haskell-actions/setup@v2
with:
cabal-version: 3.12.1.0
enable-stack: false
- name: Cabal Check
run: cabal check
- name: Create tarball
run: cabal sdist
- uses: haskell-actions/hackage-publish@v1
with:
hackageToken: ${{ secrets.HACKAGE_ACCESS_TOKEN }}
packagesPath: dist-newstyle/sdist
publish: false
1 change: 1 addition & 0 deletions equational-reasoning.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ source-repository head
location: git://github.com/konn/equational-reasoning-in-haskell.git

library
-- cabal-gild: discover ./Proof/**/*.hs --exclude Proof/Propositional/TH.hs
exposed-modules:
Proof.Equational
Proof.Propositional
Expand Down

0 comments on commit 460d617

Please sign in to comment.