tweaking workflows
This commit is contained in:
parent
ec49e74fb2
commit
924ea4ba8e
|
@ -11,12 +11,10 @@ jobs:
|
||||||
- run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event."
|
- 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 }}."
|
- run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
- name: Check out repository code
|
- 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."
|
- 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
|
- 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
|
||||||
|
|
|
@ -11,12 +11,10 @@ jobs:
|
||||||
- run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event."
|
- 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 }}."
|
- run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
- name: Check out repository code
|
- 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."
|
- 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
|
- 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