Skip to content

Commit

Permalink
Merge pull request #627 from suside/master
Browse files Browse the repository at this point in the history
Publish artifacts as release files
  • Loading branch information
KtorZ authored Aug 18, 2021
2 parents e9e3e5d + ca7a42b commit c5844c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,13 @@ jobs:
with:
name: EPUB
path: mostly-adequate-guide-to-functional-programming.epub

- run: echo "::set-output name=ID::$(git describe --tags --always)"
id: release-id

- uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.release-id.outputs.ID }}
files: |
mostly-adequate-guide-to-functional-programming.pdf
mostly-adequate-guide-to-functional-programming.epub
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $ npm run ch04

## Download it

Find pre-generated **PDF** and **EPUB** as [build artifacts of the latest Github Workflows](https://github.com/MostlyAdequate/mostly-adequate-guide/actions/workflows/build.yml).
Find pre-generated **PDF** and **EPUB** as [build artifacts of the latest release](https://github.com/MostlyAdequate/mostly-adequate-guide/releases/latest).

## Do it yourself

Expand Down

0 comments on commit c5844c2

Please sign in to comment.