diff --git a/.gitea/workflows/prod-deploy.yaml b/.gitea/workflows/prod-deploy.yaml index bf6b2beda..251d2ba23 100644 --- a/.gitea/workflows/prod-deploy.yaml +++ b/.gitea/workflows/prod-deploy.yaml @@ -11,12 +11,10 @@ jobs: - run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Check out repository code - uses: actions/checkout@v3 + - uses: actions/checkout@v3 + - uses: actions/setup-dotnet@v3 + - uses: actions/setup-node@v3 - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - - name: Install build requirements - run: | - 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 dd7d6dd40..f6217c3d1 100644 --- a/.gitea/workflows/stage-deploy.yaml +++ b/.gitea/workflows/stage-deploy.yaml @@ -11,12 +11,10 @@ jobs: - run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Check out repository code - uses: actions/checkout@v3 + - uses: actions/checkout@v3 + - uses: actions/setup-dotnet@v3 + - uses: actions/setup-node@v3 - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - - name: Install build requirements - run: | - 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