From 2d05791d9b4455555cd4ff3aae987b9f8da4b703 Mon Sep 17 00:00:00 2001 From: Kim Date: Mon, 23 Oct 2023 14:21:29 +0200 Subject: [PATCH] update workflows --- .gitea/workflows/prod-deploy.yaml | 4 ++++ .gitea/workflows/stage-deploy.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.gitea/workflows/prod-deploy.yaml b/.gitea/workflows/prod-deploy.yaml index b3c7893d4..7e24f2ed4 100644 --- a/.gitea/workflows/prod-deploy.yaml +++ b/.gitea/workflows/prod-deploy.yaml @@ -13,6 +13,10 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." + - name: Install build requirements + run: | + apt install dotnet7 + apt install npm - name: Build backend run: | dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false diff --git a/.gitea/workflows/stage-deploy.yaml b/.gitea/workflows/stage-deploy.yaml index adbf0583f..8a4c8aed2 100644 --- a/.gitea/workflows/stage-deploy.yaml +++ b/.gitea/workflows/stage-deploy.yaml @@ -13,6 +13,10 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." + - name: Install build requirements + run: | + apt install dotnet7 + apt install npm - name: Build backend run: | dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false