Skip to content

Commit 26e3d2a

Browse files
committed
test filename
1 parent 0e5d276 commit 26e3d2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/build_test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
lastEvent=$(ls -LR1 | sed -E 's/[0-9]{4}-[0-9]{2}-[0-9]{2}-//;s/Event-//;s/-.*//;s/.md//' | sort -n | tail -1)
4949
nextEvent=$((lastEvent+1))
5050
echo "next_event=$(nextEvent)" >> $GITHUB_ENV
51-
echo "FILENAME=${{ env.FILENAME_PREFIX }}$( echo 'Event#$(nextEvent) ${{ github.event.inputs.post_title }}' | sed -r 's/[# ]+/-/g' ).md" >> $GITHUB_ENV
51+
echo "FILENAME=${{ env.FILENAME_PREFIX }}$( echo 'Event#${{ env.next_event }} ${{ github.event.inputs.post_title }}' | sed -r 's/[# ]+/-/g' ).md" >> $GITHUB_ENV
5252
5353
5454
- name: Create post file

0 commit comments

Comments
 (0)