diff --git a/.gitea/workflows/prod-deploy.yaml b/.gitea/workflows/prod-deploy.yaml index 7e24f2ed4..bf6b2beda 100644 --- a/.gitea/workflows/prod-deploy.yaml +++ b/.gitea/workflows/prod-deploy.yaml @@ -15,8 +15,8 @@ jobs: - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - name: Install build requirements run: | - apt install dotnet7 - apt install npm + sudo apt install dotnet7 + sudo 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 8a4c8aed2..dd7d6dd40 100644 --- a/.gitea/workflows/stage-deploy.yaml +++ b/.gitea/workflows/stage-deploy.yaml @@ -15,8 +15,8 @@ jobs: - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - name: Install build requirements run: | - apt install dotnet7 - apt install npm + sudo apt install dotnet7 + sudo 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