chore: upgrade to actions/checkout v2

This commit is contained in:
Clare Liguori
2020-01-01 15:07:54 -08:00
parent c2cc6055b3
commit be8d1ecb70
2 changed files with 2 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1.0.0
uses: actions/checkout@v2
- name: Run tests
run: |
npm ci

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
ref: master
- name: Package
@@ -22,9 +22,6 @@ jobs:
- name: Commit
run: |
git config --global user.name "GitHub Actions"
git remote set-url origin https://x-access-token:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY
git add dist/
git commit -m "Update dist" || echo "No changes to commit"
git push origin HEAD:master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}