Adding gitea actions
This commit is contained in:
parent
6812f48c59
commit
030635a50e
32
.gitea/workflows/build.yaml
Normal file
32
.gitea/workflows/build.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
name: Build
|
||||||
|
run-name: ${{gitea.actor}} is building 🚀
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
BuildUI:
|
||||||
|
runs-on: osx
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Restoring Node Packages
|
||||||
|
run: |
|
||||||
|
cd source
|
||||||
|
cd ticketUI
|
||||||
|
yarn install --frozen-lockfile
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
cd source
|
||||||
|
cd ticketUI
|
||||||
|
yarn run build
|
||||||
|
BuildAPI:
|
||||||
|
runs-on: osx
|
||||||
|
needs: [BuildUI]
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Setting up .Net CLI
|
||||||
|
uses: actions/setup-dotnet@v4
|
||||||
|
with:
|
||||||
|
dotnet-version: '9.0.x'
|
||||||
|
- name: Build API
|
||||||
|
run: dotnet build ticketAPI
|
||||||
Loading…
Reference in New Issue
Block a user