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