From 40c9224158fdee4fb4e06c75f97cc58ff482174e Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Thu, 16 Nov 2023 07:21:10 +0100 Subject: [PATCH] ci: cleanup --- .gitea/workflows/server.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index b1a9eb8..a1b18b3 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -30,23 +30,14 @@ jobs: run: | wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash echo "::add-path::$HOME/.nvm" - export PATH="$HOME/.nvm:$PATH" export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" nvm install 18 nvm use 18 - echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc - echo $(which node) echo "::add-path::$(dirname $(which npm))" nvm --version - echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV - name: Check Node.js version run: | - cat $GITHUB_PATH - cat $GITHUB_ENV - echo $PATH - echo $GITHUB_PATH - echo $GITHUB_ENV node -v npm -v - name: Checkout repository @@ -65,13 +56,13 @@ jobs: - name: Upload documentation uses: actions/upload-artifact@v3 with: - name: docs + name: wiki.zip path: artifacts/wiki.zip retention-days: 14 - name: Upload algolia-indexes uses: actions/upload-artifact@v3 with: - name: algolia-indexes + name: algolia-indexes.zip path: artifacts/${{ env.ALGOLIA_ARTIFACT }} retention-days: 14