Open DeveloperPaul123 opened 1 year ago
Yes, I almost erased the main.pdf
in the script when fixing #1, so will fix it!
@DeveloperPaul123 continuing discussion from #3 here
In fact, if you know how you want to name the output file for every source file, it is easy enough to just rename them in another step of a workflow.
So, I would like to consider renaming the output file as a redundant feature for the action.
Do you have a use case in mind where it would be useful?
Also, as of v1.0.2, the output file will get its name from the input one (I removed the hardcoded main.pdf)
@lvignoli I think having the files be named according to the input file name should suffice for now. Just thought it would be nice since you can specify it when running typst
directly.
I agree it would be nice, I am just unsure how to correctly offer the feature with a YAML definition. I'll let this open to think a bit about it
Restating earlier syntax proposal of #3 here:
source_file : |
foo.typ bar.pdf
baz.typ
fizz.typ
buzz.typ buzzy.pdf
Currently, it's not possible to specify the output file name with the github action. It would be good to allow users to specify this or simply remove the output file name from the command so that the output
pdf
file name matches the inputtyp
filename.