diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d5870f..43c118c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,15 +18,15 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 + - uses: actions/checkout@v7 with: repository: ${{ github.repository_owner }}/.github ref: v1 path: .shared-ci - name: Keep the shared scripts out of the workspace run: mv .shared-ci "$RUNNER_TEMP/shared-ci" - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: { node-version: 24 } - name: Install Hugo run: | diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index baabdd3..70bb501 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -30,9 +30,9 @@ jobs: run: ${{ steps.tags.outputs.run }} ready: ${{ steps.built.outputs.ready }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: { path: work/grand-stack.github.io } - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: { node-version: 24 } - name: Latest release of every repository id: tags @@ -45,22 +45,22 @@ jobs: if: ${{ steps.tags.outputs.run != 'true' }} run: echo "No repository has a newer release than the site shows; nothing to do." # The documented repositories, each at its latest release tag (or the default branch if it has none yet), beside the site - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 if: ${{ steps.tags.outputs.run == 'true' }} with: { repository: "${{ github.repository_owner }}/grandstack", ref: "${{ fromJSON(steps.tags.outputs.tags)['grandstack'] || '' }}", path: work/grandstack, fetch-depth: 0 } - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 if: ${{ steps.tags.outputs.run == 'true' }} with: { repository: "${{ github.repository_owner }}/grandstack-server", ref: "${{ fromJSON(steps.tags.outputs.tags)['grandstack-server'] || '' }}", path: work/grandstack-server, fetch-depth: 0 } - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 if: ${{ steps.tags.outputs.run == 'true' }} with: { repository: "${{ github.repository_owner }}/grandstack-web", ref: "${{ fromJSON(steps.tags.outputs.tags)['grandstack-web'] || '' }}", path: work/grandstack-web, fetch-depth: 0 } - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 if: ${{ steps.tags.outputs.run == 'true' }} with: { repository: "${{ github.repository_owner }}/grandstack-auth", ref: "${{ fromJSON(steps.tags.outputs.tags)['grandstack-auth'] || '' }}", path: work/grandstack-auth, fetch-depth: 0 } - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 if: ${{ steps.tags.outputs.run == 'true' }} with: { repository: "${{ github.repository_owner }}/grandstack-agents", ref: "${{ fromJSON(steps.tags.outputs.tags)['grandstack-agents'] || '' }}", path: work/grandstack-agents, fetch-depth: 0 } - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 if: ${{ steps.tags.outputs.run == 'true' }} with: { repository: "${{ github.repository_owner }}/grandstack-federation", ref: "${{ fromJSON(steps.tags.outputs.tags)['grandstack-federation'] || '' }}", path: work/grandstack-federation, fetch-depth: 0 } - name: Install Hugo @@ -76,7 +76,7 @@ jobs: npm run sync hugo --gc --minify npm run check - - uses: actions/upload-pages-artifact@v3 + - uses: actions/upload-pages-artifact@v5 if: ${{ steps.tags.outputs.run == 'true' }} with: { path: work/grand-stack.github.io/public } - name: Built and ready to deploy @@ -107,4 +107,4 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5