actions/checkout v2 avoids the detached head problem

This commit is contained in:
Sam Tobin-Hochstadt 2020-04-30 10:18:15 -04:00
parent 49153de07d
commit ea43027252

View File

@ -10,9 +10,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- run: |
git checkout ${{ github.ref }} # have to be on a branch
- uses: actions/checkout@v2
- name: Install pkg dependencies
run: |