Skip to content

Commit

Permalink
Merge pull request #3 from harrymaynard/feat/v2
Browse files Browse the repository at this point in the history
Changed action runtime from Docker to Node20.
  • Loading branch information
harrymaynard authored Feb 1, 2025
2 parents ec77d8c + 7c42f5f commit f55ebc2
Show file tree
Hide file tree
Showing 13 changed files with 154,860 additions and 1,168 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Create ePub
uses: harrymaynard/markdown-to-epub-action@main
uses: harrymaynard/markdown-to-epub-action@feat/v2
with:
markdownFiles: |-
test-data/publication.md
Expand All @@ -24,3 +25,9 @@ jobs:
tocTitle: My Table of Contents
hideToC: false
output: my-book.epub

- uses: actions/upload-artifact@v4
with:
path: my-book.epub
if-no-files-found: error
retention-days: 7
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
Expand Down
14 changes: 2 additions & 12 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,5 @@ inputs:
default: 'book.epub'

runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.markdownFiles }}
- ${{ inputs.title }}
- ${{ inputs.author }}
- ${{ inputs.publisher }}
- ${{ inputs.cover }}
- ${{ inputs.version }}
- ${{ inputs.lang }}
- ${{ inputs.tocTitle }}
- ${{ inputs.hideToC }}
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit f55ebc2

Please sign in to comment.