Adapting your github matrix strategy for screenplay writing

Open
#115 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions
Domain
ci-cd

Research direction

Start with the linked Versioning Scripts using Fountain and GitHub article, then inspect the repository's existing GitHub Actions workflow for its matrix and run steps. The requested result is a matrix built from .fountain filenames with the extension removed, and commands that resolve the corresponding .fountain and .pdf paths.

Written by the indexing model from the issue text.

Description

question

I found your explanation for using a matrix on a github action to scan directories and I was trying to adapt it for this purpose:

Versioning Scripts using Fountain and GitHub

As you can see, he stops just short of your fix and suggests adding each new file manually.

I have been trying to apply your solve but I keep missing something and generating errors. I would truly appreciate your help, if you have the time.

Admittedly, this is quite a bit simpler than your issue. I just need the names of the files ending in .fountain, strip the .fountain from the name, put the names into the matrix, then adapt the run line so ${{ matrix }}.fountain and ${{ matrix }}.pdf point to the right things.

Dominant language
JavaScript
Stars
7
Forks
30
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dblock/code.dblock.org

All issues in dblock/code.dblock.org

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.