Skip to content

Commit

Permalink
Fixed path to the actions folder. Attempt 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepd-nv committed Aug 7, 2024
1 parent 81fb7ee commit ec410dd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:

<% for package_id, package_info in packages.items() %>
- name: Download <<package_info.repo>> (artifacts)
uses: ./${{ inputs.client-repo }}/.github/actions/download-artifacts
uses: ./.github/actions/download-artifacts
with:
artifact-repo: "<<package_info.repo>>"
artifact-name: "<<package_info.artifact_name | replace_placeholder('repo', package_info.repo) | replace_placeholder('git_tag', package_info.git_tag) >>"
Expand Down
1 change: 0 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ runs:
- name: Set REPO_DIR and Dump environment
shell: bash --noprofile --norc -xeuo pipefail {0}
run: |
cd ${{ inputs.client-repo }}
echo "REPO_DIR=$(pwd)" >> $GITHUB_ENV
env
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/gh-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
path: ${{ inputs.client-repo }}

- name: Setup
uses: ./${{ inputs.client-repo }}/.github/actions/setup
uses: ./.github/actions/setup
with:
client-repo: ${{ inputs.client-repo }}
build-type: ${{ inputs.build-type }}
Expand Down Expand Up @@ -86,7 +85,7 @@ jobs:
cat ${REPO_DIR}/.github/actions/build/action.yml
- name: Call build action
uses: ./${{ inputs.client-repo }}/.github/actions/build
uses: ./.github/actions/build
with:
build-type: ${{ inputs.build-type }}
target-device: "${{ inputs.target-device }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-test-within-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

steps:
- name: Setup
uses: ./${{ inputs.client-repo }}/.github/actions/setup
uses: ./.github/actions/setup
with:
client-repo: ${{ inputs.client-repo }}
build-type: ${{ inputs.build-type }}
Expand All @@ -67,7 +67,7 @@ jobs:
python-version: ${{ inputs.python-version }}

- name: Call test action
uses: ./${{ inputs.client-repo }}/.github/actions/test
uses: ./.github/actions/test
with:
test-options: ${{ inputs.test-options }}
has-gpu: ${{ inputs.has-gpu }}
4 changes: 2 additions & 2 deletions .github/workflows/gh-test-without-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

steps:
- name: Setup
uses: ./${{ inputs.client-repo }}/.github/actions/setup
uses: ./.github/actions/setup
with:
client-repo: ${{ inputs.client-repo }}
build-type: ${{ inputs.build-type }}
Expand All @@ -61,7 +61,7 @@ jobs:
python-version: ${{ inputs.python-version }}

- name: Call test action
uses: ./${{ inputs.client-repo }}/.github/actions/test
uses: ./.github/actions/test
with:
test-options: ${{ inputs.test-options }}
has-gpu: ${{ inputs.has-gpu }}

0 comments on commit ec410dd

Please sign in to comment.