Skip to content

Commit 90a4e0a

Browse files
author
Corentin Mors
committed
Update github actions
1 parent a97298c commit 90a4e0a

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

.github/workflows/documentation-deploy.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,17 @@ jobs:
1313
working-directory: 'documentation'
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717

1818
- name: Set up Node.js
19-
uses: actions/setup-node@v2
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version: 18
2222

2323
- name: Build
2424
run: |
2525
yarn
2626
yarn next build
27-
yarn next export
2827
touch out/.nojekyll
2928
3029
- name: Deploy

.github/workflows/manual-test-release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
runs-on: ${{ matrix.settings.host }}
2020
name: dev build - ${{ matrix.settings.target }} - node@18
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- name: Use Node.js
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: 18.x
2727

@@ -38,7 +38,7 @@ jobs:
3838
yarn dlx @yao-pkg/pkg@5.11.1 . -t node18-${{ matrix.settings.target }} -o bundle/dcli-${{ matrix.settings.target }}${{ matrix.settings.extension }} -C GZip "--public" "--public-packages" "tslib,thirty-two" "--no-bytecode"
3939
4040
- name: Archive binary artifact
41-
uses: actions/upload-artifact@v3
41+
uses: actions/upload-artifact@v4
4242
with:
4343
name: dcli-${{ matrix.settings.target }}
4444
path: bundle/dcli-${{ matrix.settings.target }}${{ matrix.settings.extension }}
@@ -48,9 +48,9 @@ jobs:
4848
runs-on: ubuntu-latest
4949
needs: build
5050
steps:
51-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@v4
5252
- name: Download all artifacts
53-
uses: actions/download-artifact@v3
53+
uses: actions/download-artifact@v4
5454
with:
5555
path: artifacts
5656

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
runs-on: ubuntu-latest
5252
needs: build
5353
steps:
54-
- uses: actions/checkout@v3
54+
- uses: actions/checkout@v4
5555

5656
- name: Download all artifacts
57-
uses: actions/download-artifact@v3
57+
uses: actions/download-artifact@v4
5858
with:
5959
path: artifacts
6060

@@ -82,7 +82,7 @@ jobs:
8282
- run: mv signed/dcli-win-x64.exe signed/dcli-win-x64-signed.exe
8383

8484
- name: Archive binary artifact
85-
uses: actions/upload-artifact@v3
85+
uses: actions/upload-artifact@v4
8686
with:
8787
name: dcli-win-x64-signed
8888
path: signed/dcli-win-x64-signed.exe
@@ -94,10 +94,10 @@ jobs:
9494
- build
9595
- sign
9696
steps:
97-
- uses: actions/checkout@v3
97+
- uses: actions/checkout@v4
9898

9999
- name: Download all artifacts
100-
uses: actions/download-artifact@v3
100+
uses: actions/download-artifact@v4
101101
with:
102102
path: artifacts
103103

@@ -106,7 +106,7 @@ jobs:
106106
shell: bash
107107

108108
- name: Release
109-
uses: softprops/action-gh-release@v0.1.14
109+
uses: softprops/action-gh-release@v2
110110
with:
111111
files: |
112112
artifacts/dcli-linux-x64/dcli-linux-x64

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010
- name: Use Node.js
11-
uses: actions/setup-node@v3
11+
uses: actions/setup-node@v4
1212
with:
1313
node-version: 18.x
1414
- run: yarn

documentation/next.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ module.exports = {
2222
},
2323
assetPrefix: assetPrefix,
2424
basePath: basePath,
25+
output: 'export'
2526
};

0 commit comments

Comments
 (0)