Skip to content

Refactor project structure to improve build and release processes #1

Refactor project structure to improve build and release processes

Refactor project structure to improve build and release processes #1

name: ci-obfuscator-common
on:
pull_request:
types: [ opened, synchronize, reopened, ready_for_review ]
branches: [ main ]
paths: [ 'src/Dax.Vpax.Obfuscator.Common/**' ]
env:
SOLUTION: Dax.Vpax.Obfuscator.Common.slnf
jobs:
build-and-test:
runs-on: windows-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup dotnet
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: restore
run: dotnet restore ${{ env.SOLUTION }}
- name: dotnet build
run: dotnet build ${{ env.SOLUTION }} --configuration Release --no-restore
- name: dotnet test
run: dotnet test ${{ env.SOLUTION }} --configuration Release --no-build