Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik <[email protected]>
  • Loading branch information
Dominik-K committed Dec 23, 2023
1 parent 6d4a2e1 commit 1a17cd2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,13 @@ jobs:
restore-keys: |
compile-${{ env.branch_name_for_cache }}-
compile-
- name: Checkout `${{ env.CI_REPO }}` (to only get the `.ci/` directory if reusable workflow mode, see https://stackoverflow.com/a/74123003/1168315)
- name: Checkout `${{ env.CI_REPO }}` to `ci-repo/` (for reusable workflow mode, see https://stackoverflow.com/a/74123003/1168315)
uses: actions/checkout@v4
with:
path: ci-repo
repository: ${{ env.CI_REPO }}
ref: CI/reusable-workflow # TODO get reference in general, see https://stackoverflow.com/questions/74784735 resp. https://github.com/actions/toolkit/issues/1264
- name: Checkout repo ${{ inputs.repository }}
if: ${{ github.repository != env.CI_REPO }}
- name: Checkout repo ${{ inputs.repository }} to `source/`
uses: actions/checkout@v4
with:
path: source
Expand Down

0 comments on commit 1a17cd2

Please sign in to comment.