From 0c5830315f83c405028fb4a8310a305ce679b957 Mon Sep 17 00:00:00 2001 From: Dragos STOICA <152891717+dragos-eu@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:01:42 +0200 Subject: [PATCH] Update pandoc.yml --- .github/workflows/pandoc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pandoc.yml b/.github/workflows/pandoc.yml index 1328867e..700a7345 100644 --- a/.github/workflows/pandoc.yml +++ b/.github/workflows/pandoc.yml @@ -16,8 +16,8 @@ jobs: run: | mkdir output # create output dir # get the latest ESPD*.docx file as input argumet for conversion - ls -t -1 ESPD*.docx | sed '1q' - last_file=$(ls -t -1 ESPD*.docx | sed '1q') + ls -ltr -1 ESPD*.docx + last_file=$(ls -tr -1 ESPD*.docx | sed '1q') echo "files=$last_file" >> $GITHUB_OUTPUT echo "fn=${last_file%%.*}" >> $GITHUB_OUTPUT - uses: docker://pandoc/latex:latest