From 6263595df7f63f1da46bf78d35f47c90af009958 Mon Sep 17 00:00:00 2001 From: Bojan Rajh Date: Wed, 7 Feb 2024 15:40:07 +0100 Subject: [PATCH] feat: upgrade workflows --- .github/actions/checkout-install/action.yml | 2 +- .../workflows/checkout-test-build-deploy.yml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/actions/checkout-install/action.yml b/.github/actions/checkout-install/action.yml index 6e36280..46baa15 100644 --- a/.github/actions/checkout-install/action.yml +++ b/.github/actions/checkout-install/action.yml @@ -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 diff --git a/.github/workflows/checkout-test-build-deploy.yml b/.github/workflows/checkout-test-build-deploy.yml index 53a6f1b..0263574 100644 --- a/.github/workflows/checkout-test-build-deploy.yml +++ b/.github/workflows/checkout-test-build-deploy.yml @@ -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 }} @@ -63,7 +63,7 @@ jobs: with: apt: true - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: embed-${{ github.sha }} @@ -90,7 +90,7 @@ jobs: with: apt: true - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: embed-${{ github.sha }} @@ -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 }} @@ -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 }} @@ -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 }}