update workflows
This commit is contained in:
parent
81ebe98f8f
commit
5ca518f7b5
|
@ -1,8 +1,6 @@
|
||||||
name: Production-Deploy
|
name: Production-Deploy
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
tags:
|
tags:
|
||||||
- v1.**
|
- v1.**
|
||||||
|
|
||||||
|
@ -15,9 +13,6 @@ 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 dotnet
|
|
||||||
- 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
|
||||||
|
|
|
@ -13,9 +13,6 @@ 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 dotnet
|
|
||||||
- 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
|
||||||
|
|
Loading…
Reference in New Issue