Skip to content

Commit

Permalink
Use the correct action input parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenberg committed Oct 20, 2023
1 parent a291b7c commit 415bca9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/__with-checkout-path.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion pr-checks/checks/with-checkout-path.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: "Use a custom `checkout_path`"
description: "Checks that a custom `checkout_path` will find the proper commit_oid"
steps:
# This ensures we don't accidentally use the original checkout for any part of the test.
- name: Delete original checkout
run: |
rm -rf .
# Check out the actions repo again, but at a different location.
# choose an arbitrary SHA so that we can later test that the commit_oid is not from main
- uses: actions/checkout@v4
Expand All @@ -12,7 +16,7 @@ steps:
tools: ${{ steps.prepare-test.outputs.tools-url }}
# it's enough to test one compiled language and one interpreted language
languages: csharp,javascript
source-path: x/y/z/some-path/tests/multi-language-repo
source-root: x/y/z/some-path/tests/multi-language-repo
debug: true
- name: Build code (non-windows)
shell: bash
Expand Down

0 comments on commit 415bca9

Please sign in to comment.