From cbf3badc63ef9aaecebbb3c6c429b7752e321ade Mon Sep 17 00:00:00 2001 From: Jason Morley Date: Mon, 19 Feb 2024 13:09:50 -1000 Subject: [PATCH] ci: Catch up to the latest GitHub Actions steps versions (#206) --- .github/workflows/build.yaml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 437f97c..2f67736 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.ACCESS_TOKEN }} submodules: recursive @@ -50,7 +50,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.ACCESS_TOKEN }} submodules: recursive @@ -77,28 +77,25 @@ jobs: done - name: Upload Pages artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 deploy: needs: documentation if: ${{ github.ref == 'refs/heads/main' }} - # Grant GITHUB_TOKEN the permissions required to make a Pages deployment permissions: - pages: write # to deploy to Pages - id-token: write # to verify the deployment originates from an appropriate source + pages: write + id-token: write - # Deploy to the github-pages environment environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - # Specify runner + deployment step runs-on: ubuntu-latest steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 # or the latest "vX.X.X" version tag for this action + uses: actions/deploy-pages@v4 update-homebrew: needs: build @@ -108,7 +105,7 @@ jobs: steps: - name: Update Homebrew formula - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ secrets._GITHUB_ACCESS_TOKEN }} repository: inseven/homebrew-incontext