Skip to content

Commit f6c484b

Browse files
authored
fstests.yml: use kdevops path
The path for always() takes clearly are in different places. Fix this
1 parent 02fcda1 commit f6c484b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/fstests.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
19-
19+
20+
- name: Set kdevops path
21+
run: echo "KDEVOPS_PATH=$GITHUB_WORKSPACE/kdevops" >> $GITHUB_ENV
22+
2023
- name: Configure git
2124
run: |
2225
git config --global --add safe.directory '*'
@@ -48,18 +51,19 @@ jobs:
4851
- name: Get systemd journal files
4952
if: always() # This ensures the step runs even if previous steps failed
5053
run: |
51-
cd kdevops
54+
cd $KDEVOPS_PATH
5255
make journal-dump
5356
5457
- name: Build our kdevops archive results
5558
if: always() # This ensures the step runs even if previous steps failed
5659
run: |
57-
cd kdevops
60+
cd $KDEVOPS_PATH
5861
make ci-archive
5962
6063
- name: Find and kdevops results zip file
6164
if: always() # This ensures the step runs even if previous steps failed
6265
run: |
66+
cd $KDEVOPS_PATH
6367
ZIP_FILE=$(find kdevops/archive -name "*.zip" -type f | head -n 1)
6468
echo "Found zip file: $ZIP_FILE"
6569
echo "KDEVOPS_ARTIFACT_PATH=$ZIP_FILE" >> $GITHUB_ENV
@@ -69,7 +73,7 @@ jobs:
6973
uses: actions/upload-artifact@v4
7074
with:
7175
name: kdevops-ci-results
72-
path: ${{ env.KDEVOPS_ARTIFACT_PATH }}
76+
path: ${{ env.KDEVOPS_PATH }}/${{ env.KDEVOPS_ARTIFACT_PATH }}
7377

7478
# Ensure make destroy always runs, even on failure
7579
- name: Run kdevops make destroy

0 commit comments

Comments
 (0)