Skip to content

Commit

Permalink
Update github actions to latest versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
leMaik committed Sep 18, 2024
1 parent 39a217d commit 6cf6c43
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Setup Python
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.12

Expand All @@ -37,7 +37,7 @@ jobs:
run: echo ${{ github.event.number }} > ./docs/pr-number.txt

- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: success()
with:
name: site
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Download Artifact
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v4
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
name: site
Expand All @@ -36,9 +36,9 @@ jobs:
echo "<html><body><div>Redirecting... <a href=\"/docs\">Click Here</a></div><script>window.location = \"/docs\";</script></body></html>" > ./site/index.html
- name: Setup NPM
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 8
node-version: 20

- name: Install Surge
run: npm install -g surge
Expand All @@ -49,7 +49,7 @@ jobs:
surge ./site/ https://chunky-dev-docs-pr-${{ steps.pr.outputs.id }}.surge.sh --token ${{ secrets.SURGE_TOKEN }}
- name: Update Comment - Success
uses: actions-cool/maintain-one-comment@v1.2.1
uses: actions-cool/maintain-one-comment@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: |
Expand All @@ -65,7 +65,7 @@ jobs:

- name: Update Comment - Fail
if: ${{ failure() }}
uses: actions-cool/maintain-one-comment@v1.2.1
uses: actions-cool/maintain-one-comment@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-teardown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:

steps:
- name: Setup NPM
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 8
node-version: 20

- name: Install Surge
run: npm install -g surge
Expand All @@ -27,7 +27,7 @@ jobs:
surge teardown https://chunky-dev-docs-pr-${{ github.event.pull_request.number }}.surge.sh --token ${{ secrets.SURGE_TOKEN }} || true
- name: Update Comment
uses: actions-cool/maintain-one-comment@v1.2.1
uses: actions-cool/maintain-one-comment@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: |
Expand Down

0 comments on commit 6cf6c43

Please sign in to comment.