Skip to content

Commit

Permalink
Checkout current repo in gh-build.yml instead of doing that in the se…
Browse files Browse the repository at this point in the history
…tup action since actions are available only after the source code has been checked out.
  • Loading branch information
sandeepd-nv committed Aug 7, 2024
1 parent 6dc8110 commit 784fc22
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 255 deletions.
6 changes: 0 additions & 6 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ inputs:
runs:
using: composite
steps:
- name: Checkout ${{ inputs.client-repo }}
uses: actions/checkout@v4
with:
fetch-depth: 0
path: ${{ inputs.client-repo }}

- name: Set REPO_DIR and Dump environment
shell: bash --noprofile --norc -xeuo pipefail {0}
run: |
Expand Down
63 changes: 0 additions & 63 deletions .github/workflows/actions/download-artifacts/action.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .github/workflows/actions/setup/action.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/actions/test/action.yml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/workflows/actions/upload/action.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/gh-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
runs-on: ${{ inputs.runs-on }}

steps:
- name: Checkout ${{ inputs.client-repo }}
uses: actions/checkout@v4
with:
fetch-depth: 0
path: ${{ inputs.client-repo }}

- name: Setup
uses: ./.github/actions/setup
with:
Expand Down

0 comments on commit 784fc22

Please sign in to comment.