mirror of
https://github.com/laoxong/ScoopBucket
synced 2024-11-27 04:15:15 +01:00
(chore): CI: Change actions/checkout version (#6)
This commit is contained in:
parent
38e65c144b
commit
be81fafb82
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -11,19 +11,19 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Bucket
|
- name: Checkout Bucket
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@main
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
path: 'my_bucket'
|
path: 'my_bucket'
|
||||||
- name: Checkout Scoop
|
- name: Checkout Scoop
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@main
|
||||||
with:
|
with:
|
||||||
repository: ScoopInstaller/Scoop
|
repository: ScoopInstaller/Scoop
|
||||||
path: 'scoop_core'
|
path: 'scoop_core'
|
||||||
- name: Init and Test
|
- name: Init and Test
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
$env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
|
$env:SCOOP_HOME="$(Convert-Path '.\scoop_core')"
|
||||||
.\scoop_core\test\bin\init.ps1
|
.\scoop_core\test\bin\init.ps1
|
||||||
.\my_bucket\bin\test.ps1
|
.\my_bucket\bin\test.ps1
|
||||||
test_pwsh:
|
test_pwsh:
|
||||||
@ -31,18 +31,18 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Bucket
|
- name: Checkout Bucket
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@main
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
path: 'my_bucket'
|
path: 'my_bucket'
|
||||||
- name: Checkout Scoop
|
- name: Checkout Scoop
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@main
|
||||||
with:
|
with:
|
||||||
repository: ScoopInstaller/Scoop
|
repository: ScoopInstaller/Scoop
|
||||||
path: 'scoop_core'
|
path: 'scoop_core'
|
||||||
- name: Init and Test
|
- name: Init and Test
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
$env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
|
$env:SCOOP_HOME="$(Convert-Path '.\scoop_core')"
|
||||||
.\scoop_core\test\bin\init.ps1
|
.\scoop_core\test\bin\init.ps1
|
||||||
.\my_bucket\bin\test.ps1
|
.\my_bucket\bin\test.ps1
|
||||||
|
Loading…
Reference in New Issue
Block a user