mirror of
https://github.com/actions/checkout.git
synced 2025-12-16 04:48:26 +00:00
Merge f80349a6ad into 85e6279cec
This commit is contained in:
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@@ -29,6 +29,8 @@ jobs:
|
||||
run: __test__/verify-no-unstaged-changes.sh
|
||||
|
||||
test:
|
||||
env:
|
||||
main_path: main_path_test
|
||||
strategy:
|
||||
matrix:
|
||||
runs-on: [ubuntu-latest, macos-latest, windows-latest]
|
||||
@@ -62,6 +64,16 @@ jobs:
|
||||
shell: bash
|
||||
run: __test__/verify-clean.sh
|
||||
|
||||
# Use environment variable as path
|
||||
- name: Environment path test
|
||||
uses: ./
|
||||
with:
|
||||
ref: test-data/v2/basic
|
||||
path: ${{ env.main_path }}
|
||||
- name: Verify environment path test
|
||||
shell: bash
|
||||
run: __test__/verify-environment-path.sh
|
||||
|
||||
# Side by side
|
||||
- name: Checkout side by side 1
|
||||
uses: ./
|
||||
|
||||
Reference in New Issue
Block a user