Skip to content

Commit 81aaece

Browse files
committed
Add a default title if not defined
This doesn't appear to be interpolated if the step is not run.
1 parent ee98bda commit 81aaece

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci_linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ jobs:
9090
run: |
9191
SANITIZED_NAME=$(echo '${{ matrix.variance.name }}' | sed 's/[^a-zA-Z0-9.-]/-/g')
9292
ARTIFACT_NAME="target_debug-${SANITIZED_NAME}-${{ github.run_id }}"
93-
ARTIFACT_PATH="target/debug" # Define the path consistently
93+
ARTIFACT_PATH="target/debug"
9494
echo "name=${ARTIFACT_NAME}" >> $GITHUB_OUTPUT
95-
echo "path=${ARTIFACT_PATH}" >> $GITHUB_OUTPUT # Output the path variable
95+
echo "path=${ARTIFACT_PATH}" >> $GITHUB_OUTPUT
9696
9797
- name: Upload build artifacts
9898
uses: actions/upload-artifact@v4
@@ -102,7 +102,7 @@ jobs:
102102
retention-days: 1
103103

104104
test:
105-
name: ${{ matrix.variance.name }}
105+
name: ${{ matrix.variance.name || 'Tests' }}
106106
# Depends on the build job
107107
needs: build
108108
# Run ONLY IF:

0 commit comments

Comments
 (0)