Skip to content

Commit 8fdbed1

Browse files
committed
Update ci-main-pull-request.yml
1 parent 546a5b7 commit 8fdbed1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci-main-pull-request.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,9 @@ jobs:
428428

429429
- name: generate-filename-slug
430430
# description: Generate a simple slug based on repo and date for use in any output artifacts
431-
steps:
432-
- run: |
433-
FILE_PREFIX=$(echo "${{ github.repository }}${{ env.DEFAULT_SEPARATOR }}${{ github.ref_name }}${{ env.DEFAULT_SEPARATOR }}" | sed 's|/|-|g')-$(date +%Y%m%d%H%M%S)
434-
echo "FILE_PREFIX=${FILE_PREFIX}" >> $GITHUB_ENV
431+
run: |
432+
FILE_PREFIX=$(echo "${{ github.repository }}${{ env.DEFAULT_SEPARATOR }}${{ github.ref_name }}${{ env.DEFAULT_SEPARATOR }}" | sed 's|/|-|g')-$(date +%Y%m%d%H%M%S)
433+
echo "FILE_PREFIX=${FILE_PREFIX}" >> $GITHUB_ENV
435434
# FILE_NAME=$(echo "${{ env.FILE_PREFIX }}${{ env.DEFAULT_SEPARATOR }}${{ env.DEFAULT_FILE_NAME }}${{ env.DEFAULT_FILE_EXTENSION }}")
436435

437436
- name: 'Echo inputs'

0 commit comments

Comments
 (0)