further tweaks to workflows

This commit is contained in:
Kim 2023-10-23 14:27:23 +02:00
parent 924ea4ba8e
commit 66a03ba49c
2 changed files with 6 additions and 6 deletions

View File

@ -11,14 +11,14 @@ 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: Build backend - name: Build backend
uses: actions/setup-dotnet@v3
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
- name: Build frontend - name: Build frontend
uses: actions/setup-node@v3
run: | run: |
npm run build npm run build
- name: copy everything to Production - name: copy everything to Production

View File

@ -11,14 +11,14 @@ 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: Build backend - name: Build backend
uses: actions/setup-dotnet@v3
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
- name: Build frontend - name: Build frontend
uses: actions/setup-node@v3
run: | run: |
npm run build npm run build
- name: copy everything to Stage - name: copy everything to Stage