Skip to content

Commit be3d9b8

Browse files
authored
Merge pull request #1 from rabea-al/main
Tensorflow_keras Component library lock requirement
2 parents 8c34693 + 99d3999 commit be3d9b8

File tree

5 files changed

+1199
-1133
lines changed

5 files changed

+1199
-1133
lines changed

.github/workflows/run-workflow-tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ jobs:
4040
- name: Clone Repository
4141
run: |
4242
rm -rf ${{ env.COMPONENT_LIBRARY_PATH }}
43-
git clone -b ${{ env.BRANCH_NAME }} https://github.com/${{ github.repository }} ${{ env.COMPONENT_LIBRARY_PATH }}
43+
if [ "${{ github.event_name }}" == "pull_request" ]; then
44+
REPO_URL="${{ github.event.pull_request.head.repo.clone_url }}"
45+
else
46+
REPO_URL="https://github.com/${{ github.repository }}"
47+
fi
48+
git clone -b ${{ env.BRANCH_NAME }} $REPO_URL ${{ env.COMPONENT_LIBRARY_PATH }}
4449
4550
- name: Install Component Library
4651
run: |
@@ -94,7 +99,7 @@ jobs:
9499
95100
- name: Upload log file
96101
if: always()
97-
uses: actions/upload-artifact@v3
102+
uses: actions/upload-artifact@v4
98103
with:
99104
name: ${{ env.LIBRARY_NAME }}-validation-workflow
100-
path: ${{ github.workspace }}/workflow_logs.txt
105+
path: ${{ github.workspace }}/workflow_logs.txt

0 commit comments

Comments
 (0)