Skip to content

Commit

Permalink
Release from artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
orendu authored Aug 3, 2020
1 parent 3e87d58 commit 3a5011b
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,13 @@ jobs:
# This job runs on Linux
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Generate
uses: docker://orendu/pandoc:latest
with:
entryPoint: /usr/bin/pandoc
args: --from gfm --to html5 -N --standalone -M title=Readme -o Readme.pdf /github/workspace/README.md
id: gen

- name: Upload PDFs artifact
uses: actions/upload-artifact@v2
- name: Get the artifact
uses: actions/download-artifact@v2
with:
name: storage_arch_docs
path: Readme.pdf

- name: Create zip
run: zip -r storage_arch_docs.zip Readme.pdf
run: zip -r storage_arch_docs.zip *

- name: Get release
id: get_release
Expand Down

0 comments on commit 3a5011b

Please sign in to comment.