Skip to content

Commit bc3e6a2

Browse files
committed
chore: upgrade to actions/checkout v2
1 parent 35118bb commit bc3e6a2

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v1.0.0
12+
uses: actions/checkout@v2
1313
- name: Run tests
1414
run: |
1515
npm ci

.github/workflows/package.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v1
14+
uses: actions/checkout@v2
1515
with:
1616
ref: master
1717
- name: Package
@@ -22,9 +22,6 @@ jobs:
2222
- name: Commit
2323
run: |
2424
git config --global user.name "GitHub Actions"
25-
git remote set-url origin https://x-access-token:[email protected]/$GITHUB_REPOSITORY
2625
git add dist/
2726
git commit -m "Update dist" || echo "No changes to commit"
2827
git push origin HEAD:master
29-
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)