Skip to content

Commit 293dd3e

Browse files
authored
Update github actions to latest versions. (#100)
It looks like it'll work... So here goes!
1 parent c9ea642 commit 293dd3e

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/gh-pages-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
13-
- uses: actions/setup-python@v2
13+
- uses: actions/setup-python@v5
1414
with:
1515
python-version: 3.12
1616
- name: Setup Python

.github/workflows/pr-build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- name: Install Python
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: 3.12
2323

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

3939
- name: Upload artifact
40-
uses: actions/upload-artifact@v2
40+
uses: actions/upload-artifact@v4
4141
if: success()
4242
with:
4343
name: site

.github/workflows/pr-deploy.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

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

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

6666
- name: Update Comment - Fail
6767
if: ${{ failure() }}
68-
uses: actions-cool/maintain-one-comment@v1.2.1
68+
uses: actions-cool/maintain-one-comment@v3
6969
with:
7070
token: ${{ secrets.GITHUB_TOKEN }}
7171
body: |

.github/workflows/pr-teardown.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515

1616
steps:
1717
- name: Setup NPM
18-
uses: actions/setup-node@v1
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: 8
20+
node-version: 20
2121

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

0 commit comments

Comments
 (0)