workflows: don't checkout the action code manually

This commit is contained in:
Dawid Dziurla 2020-03-26 16:56:31 +01:00
parent 63d10a4690
commit d1b9509a2a
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

View file

@ -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