CI: upgrade various action scripts

This commit is contained in:
liushuyu 2022-11-18 21:04:35 -07:00
parent 5cc3656f3b
commit 941037a3e8
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
1 changed files with 6 additions and 6 deletions

View File

@ -16,9 +16,9 @@ jobs:
node-version: [16.x] node-version: [16.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: yarn - run: yarn
@ -29,15 +29,15 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: (github.ref == 'refs/heads/master') && (github.repository == 'citra-emu/discord-bot') if: (github.ref == 'refs/heads/master') && (github.repository == 'citra-emu/discord-bot')
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v1 - uses: docker/setup-buildx-action@v2
name: Setup Docker BuildX system name: Setup Docker BuildX system
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v2 - uses: docker/build-push-action@v3
name: Deploy the image name: Deploy the image
with: with:
push: true push: true