Skip to content

Commit a6c93d1

Browse files
Revert gh action upgrades (#33)
1 parent 9c8dcc5 commit a6c93d1

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/pr-preview-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
build-pr-preview:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v4
8+
- uses: actions/checkout@v3
99

10-
- uses: actions/setup-node@v4
10+
- uses: actions/setup-node@v3
1111
with:
1212
node-version: "18"
1313
- name: Build
@@ -20,11 +20,11 @@ jobs:
2020
mkdir -p ./pr
2121
echo ${{ github.event.number }} > ./pr/NR
2222
23-
- uses: actions/upload-artifact@v4
23+
- uses: actions/upload-artifact@v3
2424
with:
2525
name: build
2626
path: build/
27-
- uses: actions/upload-artifact@v4
27+
- uses: actions/upload-artifact@v3
2828
with:
2929
name: pr
3030
path: pr/

.github/workflows/pr-preview-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
github.event.workflow_run.conclusion == 'success'
1414
steps:
1515
- name: Download build
16-
uses: actions/github-script@v7
16+
uses: actions/github-script@v3
1717
with:
1818
script: |
1919
var artifacts = await github.actions.listWorkflowRunArtifacts({
@@ -33,7 +33,7 @@ jobs:
3333
var fs = require('fs');
3434
fs.writeFileSync('${{github.workspace}}/build.zip', Buffer.from(download.data));
3535
- name: Download PR number
36-
uses: actions/github-script@v7
36+
uses: actions/github-script@v3
3737
with:
3838
script: |
3939
var artifacts = await github.actions.listWorkflowRunArtifacts({
@@ -57,7 +57,7 @@ jobs:
5757
- run: unzip pr.zip
5858

5959
- name: Generate issue_number
60-
uses: actions/github-script@v7
60+
uses: actions/github-script@v3
6161
id: issue_number
6262
with:
6363
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -67,7 +67,7 @@ jobs:
6767
result-encoding: string
6868

6969
- name: Generate Surge URL
70-
uses: actions/github-script@v7
70+
uses: actions/github-script@v3
7171
id: surge-url
7272
with:
7373
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
name: "Github pages"
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: actions/setup-node@v4
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
1515
with:
1616
node-version: 18
1717
- name: Build
1818
run: |
1919
npm ci
2020
npm run build
2121
- name: Deploy
22-
uses: peaceiris/actions-gh-pages@v4
22+
uses: peaceiris/actions-gh-pages@v3
2323
with:
2424
personal_token: ${{ secrets.GITHUB_TOKEN }}
2525
publish_dir: build

0 commit comments

Comments
 (0)