From e16db2f2d5e15542485166222fa2ca432c2bc59a Mon Sep 17 00:00:00 2001 From: Eric Ma Date: Sun, 30 Apr 2023 11:05:21 -0400 Subject: [PATCH] Update build pipeline to latest action versions. --- .github/workflows/publish.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 08a5634..36280ff 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,10 +7,12 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + # https://github.com/actions/checkout + - uses: actions/checkout@v3 + # https://github.com/actions/setup-python - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: "3.8" @@ -22,8 +24,9 @@ jobs: id: pip-cache run: echo "::set-output name=dir::$(pip cache dir)" + # https://github.com/actions/cache - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} @@ -34,6 +37,7 @@ jobs: - run: python build.py + # https://github.com/peaceiris/actions-gh-pages - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: