update workflows

This commit is contained in:
Kim 2023-10-23 14:21:29 +02:00
parent 5ca518f7b5
commit 2d05791d9b
2 changed files with 8 additions and 0 deletions

View File

@ -13,6 +13,10 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - 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 - name: Build backend
run: | run: |
dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false

View File

@ -13,6 +13,10 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - 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 - name: Build backend
run: | run: |
dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false