Skip to content

Commit

Permalink
feat: upgrade workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Feb 7, 2024
1 parent 204abfd commit 6263595
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/actions/checkout-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
using: "composite"
steps:
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.8

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/checkout-test-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
cd src && zip -r db-index.zip * -i '*.md' -x '*/node_modules/*' -x '*/_source/*'
- name: Upload build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: embed-${{ github.sha }}
path: embed.zip

- name: Upload DB index
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: db-index-${{ github.sha }}
Expand All @@ -63,7 +63,7 @@ jobs:
with:
apt: true

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: embed-${{ github.sha }}

Expand All @@ -90,7 +90,7 @@ jobs:
with:
apt: true

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: embed-${{ github.sha }}

Expand All @@ -115,14 +115,14 @@ jobs:
run: zip -r full-build.zip .vitepress/dist/ vercel.json

- name: Upload build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: full-build-${{ github.sha }}
path: full-build.zip

#- name: Upload external
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# if-no-files-found: error
# name: db-external-${{ github.sha }}
Expand All @@ -144,11 +144,11 @@ jobs:
with:
apt: true

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: embed-${{ github.sha }}

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: full-build-${{ github.sha }}

Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: full-build-${{ github.sha }}

Expand Down

0 comments on commit 6263595

Please sign in to comment.