Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit d57e5e2

Browse files
committed
update repo name
1 parent bc92c17 commit d57e5e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/psdb.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ jobs:
1010
steps:
1111
- name: Checkout and build AMDVLK driver
1212
run: |
13+
REPO_NAME=$(echo "${GITHUB_REPOSITORY}" | tr -d "GPUOpen-Drivers/")
1314
~/bin/repo init -u https://github.com/GPUOpen-Drivers/AMDVLK.git -b dev --depth=1
1415
~/bin/repo sync
15-
rm drivers/${GITHUB_REPOSITORY} -rf
16-
mkdir drivers/${GITHUB_REPOSITORY} && cd drivers/${GITHUB_REPOSITORY}
16+
rm drivers/$REPO_NAME -rf
17+
mkdir drivers/$REPO_NAME && cd drivers/$REPO_NAME
1718
git clone https://github.com/${GITHUB_REPOSITORY}.git .
1819
git fetch origin +${GITHUB_SHA}:${GITHUB_REF} --update-head-ok
1920
git checkout ${GITHUB_SHA}

0 commit comments

Comments
 (0)