Skip to content

Commit 16cb628

Browse files
author
openshift-pipelines-bot
committed
Use Single Commit for Index Catalog
1 parent 79dcf1c commit 16cb628

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/index-render-template.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Save generated changes
5959
uses: actions/upload-artifact@v4
6060
with:
61-
name: catalog-${{ matrix.version }}
61+
name: ${{ matrix.version }}
6262
path: .konflux/olm-catalog/index/${{ matrix.version }}
6363

6464
final-commit:
@@ -73,12 +73,7 @@ jobs:
7373
- name: Apply downloaded changes
7474
run: |
7575
set -x
76-
ls -al downloaded-artifacts/
77-
for dir in downloaded-artifacts/catalog-*; do
78-
version=$(basename "$dir" | sed 's/catalog-//')
79-
mkdir -p .konflux/olm-catalog/index/$version
80-
cp -r "$dir"/* .konflux/olm-catalog/index/$version/
81-
done
76+
cp -rvf downloaded-artifacts/ .konflux/olm-catalog/index/
8277
- name: Commit Changes and Generate PR
8378
run: |
8479
git config user.name openshift-pipelines-bot

0 commit comments

Comments
 (0)