Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump GHA versions #19

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: "setup / checkout"
uses: "actions/checkout@v4"
- name: "setup / python ${{ env.PYTHON_VERSION }}"
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "${{ env.PYTHON_VERSION }}"
cache: "pipenv"
Expand All @@ -28,7 +28,7 @@ jobs:
run: |
pipenv run make dirhtml
- name: "store output"
uses: "actions/upload-artifact@v3"
uses: "actions/upload-artifact@v4"
with:
name: "docs-html"
path: "build/dirhtml/"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
run: "echo ${{ github.event.number }} > ./pr-num.txt"
- name: "pr number / publish"
if: "${{ always() }}"
uses: "actions/upload-artifact@v3"
uses: "actions/upload-artifact@v4"
with:
name: "pr-num"
path: "./pr-num.txt"
retention-days: 1


6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ jobs:

steps:
- name: "artifact / restore"
uses: "actions/download-artifact@v3"
uses: "actions/download-artifact@v4"
with:
name: "docs-html"
path: "build/dirhtml"
- name: "artifact / repackage"
uses: "actions/upload-pages-artifact@v1"
uses: "actions/upload-pages-artifact@v3"
with:
path: "build/dirhtml"
- name: "deploy / pages"
id: "deployment"
uses: "actions/deploy-pages@v2"
uses: "actions/deploy-pages@v4"


2 changes: 1 addition & 1 deletion .github/workflows/check-spelling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: "actions/checkout@v4"
- name: "setup python ${{ env.PYTHON_VERSION }}"
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "${{ env.PYTHON_VERSION }}"
cache: "pipenv"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ jobs:
steps:
- uses: "actions/checkout@v4" # for pages publishing
- name: "download PR"
uses: "dawidd6/action-download-artifact@v2"
uses: "dawidd6/action-download-artifact@v6"
with:
workflow: "${{ github.event.workflow_run.workflow_id }}"
run_id: "${{ github.event.workflow_run.id }}"
name: "pr-num"
path: "."
- name: "download dist artifact"
uses: "dawidd6/action-download-artifact@v2"
uses: "dawidd6/action-download-artifact@v6"
with:
workflow: "${{ github.event.workflow_run.workflow_id }}"
run_id: "${{ github.event.workflow_run.id }}"
name: "docs-html"
path: "build/dirhtml"
- name: "generate data blob"
id: "data"
uses: "actions/github-script@v6"
uses: "actions/github-script@v7"
with:
script: |
let fs = require("fs/promises");
Expand All @@ -59,7 +59,7 @@ jobs:
return data
- name: "publish to pages"
id: "publish"
uses: "JamesIves/github-pages-deploy-action@v4.4.2"
uses: "JamesIves/github-pages-deploy-action@v4.6.4"
with:
branch: "main"
folder: "build/dirhtml"
Expand All @@ -71,7 +71,7 @@ jobs:
force: true
- name: "notify"
if: "${{ steps.publish.outputs.deployment-status == 'success' }}"
uses: "actions/github-script@v6"
uses: "actions/github-script@v7"
env:
PR: "${{ fromJSON(steps.data.outputs.result).pr }}"
COMMIT: "${{ github.event.workflow_run.head_sha }}"
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/run-docgen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,19 @@ jobs:
with:
fetch-depth: 0
- name: "setup / java ${{ env.JAVA_VERSION }}"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ env.JAVA_VERSION }}
- name: "build / run gradle for generators"
uses: gradle/gradle-build-action@v2
- name: "setup / gradle"
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: "${{ github.event_name == 'pull_request' }}"
build-root-directory: docgen/
arguments: ${{ inputs.gradle_arguments }}
- name: "build / run gradle for generators"
working-directory: "docgen/"
run: ./gradlew ${{ inputs.gradle_arguments }}
- name: "upload artifacts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-output
path: ${{ inputs.artifact_pattern }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-docgen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
token: "${{ steps.token.outputs.token }}"
- name: "extract generated artifact"
uses: "actions/download-artifact@v3"
uses: "actions/download-artifact@v4"
with:
name: "build-output"
path: source/generated
Expand Down
Loading