mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-06-06 00:17:06 +00:00
chore: upgrade to actions/checkout v2
This commit is contained in:
parent
c2cc6055b3
commit
be8d1ecb70
2 changed files with 2 additions and 5 deletions
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
5
.github/workflows/package.yml
vendored
5
.github/workflows/package.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue