Skip to content

Commit

Permalink
Publish artifacts as release files, fix #626
Browse files Browse the repository at this point in the history
  • Loading branch information
suside committed Aug 17, 2021
1 parent e9e3e5d commit ca7a42b
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 ca7a42b

Please sign in to comment.