Skip to content

Commit cef7963

Browse files
authored
Fix handling of lockfile names in outdated tools workflow (#992)
1 parent 88056d2 commit cef7963

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/fix-outdated-tools.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,20 @@ jobs:
5050
- name: Fix ${{ matrix.lockfile }}
5151
run: python scripts/fix_outdated.py "${{ matrix.lockfile }}"
5252

53+
- name: Get base name
54+
id: basename
55+
run: echo "name=${LOCKFILE%.yaml.lock}" >> $GITHUB_OUTPUT
56+
env:
57+
LOCKFILE: ${{ matrix.lockfile }}
58+
5359
- name: Upload changes
5460
uses: actions/upload-artifact@v4
5561
if: always()
5662
with:
5763
name: ${{ matrix.lockfile }}
5864
path: |
5965
${{ matrix.lockfile }}
60-
not-installable-revisions/*.not-installable-revisions.yaml
66+
not-installable-revisions/${{ steps.basename.outputs.name }}.not-installable-revisions.yaml
6167
if-no-files-found: ignore
6268

6369
create-pr:

0 commit comments

Comments
 (0)