Skip to content

Merge pull request #243 from palladiumkenya/3.xchanges #27

Merge pull request #243 from palladiumkenya/3.xchanges

Merge pull request #243 from palladiumkenya/3.xchanges #27

Workflow file for this run

name: Build DWAPI
on:
push:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.1.805
- name: Install dependencies
run: dotnet restore Dwapi.sln
- name: Build
run: dotnet build src/Dwapi/Dwapi.csproj --configuration Release --no-restore
- name: Test
run: ls test/*/*.Tests.csproj | xargs -L 1 dotnet test
- name: Setup Angular
uses: actions/setup-node@v1
with:
node-version: '14.x'
- run: npm install --prefix src/Dwapi
- run: npm run build --prefix src/Dwapi
- name: Pub .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.201
- name: Publish
run: dotnet publish src/Dwapi/Dwapi.csproj --configuration Release -o dwapi
- name: Zip Folder
run: zip -r dwapi.zip dwapi