From 0ec49ea264f0fc1b479aef871af9e4fa30a5efcb Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 18 Nov 2023 20:23:07 +0100 Subject: [PATCH] push --- .gitea/workflows/action.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index fbf348c..1a93082 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -49,6 +49,10 @@ jobs: container: rust:latest steps: + - name: Setup Environment + run: | + apt-get update -qq && apt-get install -y -qq sshpass musl musl-tools sqlite3 curl gnupg && mkdir -p /etc/apt/keyrings | curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install nodejs -y && apt-get install npm -y + - name: Checkout uses: actions/checkout@v3 @@ -60,6 +64,10 @@ jobs: needs: [build, test] if: github.ref == 'refs/heads/staging' steps: + - name: Setup Environment + run: | + apt-get update -qq && apt-get install -y -qq sshpass musl musl-tools sqlite3 curl gnupg && mkdir -p /etc/apt/keyrings | curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install nodejs -y && apt-get install npm -y + - name: Checkout uses: actions/checkout@v3 @@ -84,6 +92,10 @@ jobs: needs: [build, test] if: github.ref == 'refs/heads/main' steps: + - name: Setup Environment + run: | + apt-get update -qq && apt-get install -y -qq sshpass musl musl-tools sqlite3 curl gnupg && mkdir -p /etc/apt/keyrings | curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install nodejs -y && apt-get install npm -y + - name: Checkout uses: actions/checkout@v3