workflows: don't checkout the action code manually
This commit is contained in:
parent
63d10a4690
commit
d1b9509a2a
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
@ -23,12 +23,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repository: ${{matrix.repo}}
|
repository: ${{matrix.repo}}
|
||||||
ref: ${{matrix.ref}}
|
ref: ${{matrix.ref}}
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: action
|
|
||||||
- name: Test run
|
- name: Test run
|
||||||
uses: ./action
|
uses: ${{github.repository}}@${{github.sha}}
|
||||||
- name: Check files
|
- name: Check files
|
||||||
run: |
|
run: |
|
||||||
ls -lh ${{matrix.package}}_*.*
|
ls -lh ${{matrix.package}}_*.*
|
||||||
|
@ -52,12 +48,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repository: ${{matrix.repo}}
|
repository: ${{matrix.repo}}
|
||||||
ref: ${{matrix.ref}}
|
ref: ${{matrix.ref}}
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: action
|
|
||||||
- name: Test run
|
- name: Test run
|
||||||
uses: ./action
|
uses: ${{github.repository}}@${{github.sha}}
|
||||||
with:
|
with:
|
||||||
artifacts_directory: artifacts
|
artifacts_directory: artifacts
|
||||||
- name: Check files
|
- name: Check files
|
||||||
|
|
Loading…
Reference in a new issue