mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 09:10:16 +03:00
Merge f80349a6ad
into 2d7d9f7ff5
This commit is contained in:
commit
c6881e7772
5 changed files with 33 additions and 3 deletions
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: ./
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue