pack: upgrade github actions version
This commit is contained in:
1 parent
6b1ac51453
commit
56b158ff67
2 files changed
+10
-11
No files matched your search
@@ -17,13 +17,13 @@ jobs:
|
|||||||
working-directory: ./docs
|
working-directory: ./docs
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# fetch all commits to get last updated time or other git log info
|
# fetch all commits to get last updated time or other git log info
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
# cache node_modules
|
# cache node_modules
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -52,14 +52,14 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Find and Replace (logo)
|
- name: Find and Replace (logo)
|
||||||
uses: jacobtomlinson/gha-find-replace@v2
|
uses: jacobtomlinson/gha-find-replace@v3
|
||||||
with:
|
with:
|
||||||
find: "src/renderer/public/images/vutron-logo.webp"
|
find: "src/renderer/public/images/vutron-logo.webp"
|
||||||
replace: "public/vutron-logo.webp"
|
replace: "public/vutron-logo.webp"
|
||||||
regex: false
|
regex: false
|
||||||
|
|
||||||
- name: Find and Replace (sample)
|
- name: Find and Replace (sample)
|
||||||
uses: jacobtomlinson/gha-find-replace@v2
|
uses: jacobtomlinson/gha-find-replace@v3
|
||||||
with:
|
with:
|
||||||
find: ".github/resources/vutron-sample.webp"
|
find: ".github/resources/vutron-sample.webp"
|
||||||
replace: "public/vutron-sample.webp"
|
replace: "public/vutron-sample.webp"
|
||||||
|
|||||||
@@ -24,9 +24,8 @@
|
|||||||
|
|
||||||
Used only for contributing to project documentation. Must be run from the `docs` directory location.
|
Used only for contributing to project documentation. Must be run from the `docs` directory location.
|
||||||
|
|
||||||
| Script Name | Description |
|
| Script Name | Description |
|
||||||
| ----------- | ------------------------------------------------------------------------------- |
|
| ----------- | ------------------------------------------------------------------ |
|
||||||
| `install` | Install VitePress and related plugins for your local documentation environment. |
|
| `dev` | Start the local document server. (For development) |
|
||||||
| `dev` | Start the local document server. (For development) |
|
| `build` | Build a local document server. Used only for GitHub page builders. |
|
||||||
| `build` | Build a local document server. Used only for GitHub page builders. |
|
| `serve` | Start the local document server. |
|
||||||
| `serve` | Start the local document server. |
|
|
||||||
Reference in new issue
Block a user