Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikescops committed Apr 19, 2024
1 parent a97298c commit 90a4e0a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/documentation-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@ jobs:
working-directory: 'documentation'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 18

- name: Build
run: |
yarn
yarn next build
yarn next export
touch out/.nojekyll
- name: Deploy
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/manual-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
runs-on: ${{ matrix.settings.host }}
name: dev build - ${{ matrix.settings.target }} - node@18
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x

Expand All @@ -38,7 +38,7 @@ jobs:
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"
- name: Archive binary artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dcli-${{ matrix.settings.target }}
path: bundle/dcli-${{ matrix.settings.target }}${{ matrix.settings.extension }}
Expand All @@ -48,9 +48,9 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts

Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- run: mv signed/dcli-win-x64.exe signed/dcli-win-x64-signed.exe

- name: Archive binary artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dcli-win-x64-signed
path: signed/dcli-win-x64-signed.exe
Expand All @@ -94,10 +94,10 @@ jobs:
- build
- sign
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts

Expand All @@ -106,7 +106,7 @@ jobs:
shell: bash

- name: Release
uses: softprops/action-gh-release@v0.1.14
uses: softprops/action-gh-release@v2
with:
files: |
artifacts/dcli-linux-x64/dcli-linux-x64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x
- run: yarn
Expand Down
1 change: 1 addition & 0 deletions documentation/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ module.exports = {
},
assetPrefix: assetPrefix,
basePath: basePath,
output: 'export'
};

0 comments on commit 90a4e0a

Please sign in to comment.