diff --git a/.github/workflows/merge-conflict.yml b/.github/workflows/merge-conflict.yml index cf549780e..a014ccc7d 100644 --- a/.github/workflows/merge-conflict.yml +++ b/.github/workflows/merge-conflict.yml @@ -6,7 +6,7 @@ jobs: merge_conflict_job: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - name: Check for merge conflicts run: | # Find files with merge conflict markers diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml index 7d043e933..0a06ec7a4 100644 --- a/.github/workflows/web-deploy.yml +++ b/.github/workflows/web-deploy.yml @@ -7,7 +7,7 @@ name: build gatsby jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: @@ -15,9 +15,9 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} cache: 'yarn' @@ -26,7 +26,7 @@ jobs: - run: cp .asf.yaml ./public - name: Deploy-asf-staging - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: asf-site @@ -34,7 +34,7 @@ jobs: destination_dir: ./ - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ref: master @@ -42,7 +42,7 @@ jobs: run: git fetch --all - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v6 with: python-version: '3.10' @@ -56,7 +56,7 @@ jobs: run: echo "::set-output name=dir::$(pip cache dir)" - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} @@ -71,7 +71,7 @@ jobs: - run: cp ./index.html ./build/html - name: Documents Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: asf-site