Skip to content

fix: separate generic antimalware scanner interface #29

fix: separate generic antimalware scanner interface

fix: separate generic antimalware scanner interface #29

Workflow file for this run

name: Continout Integration
on:
push:
branches: [ "dev", "master" ]
pull_request:
branches: [ "dev", "master" ]
env:
CI_BUILD_NUMBER_BASE: ${{ github.run_number }}
CI_TARGET_BRANCH: ${{ github.head_ref || github.ref_name }}
PR_TRIGGER: ${{ github.event_name == 'pull_request' }}
jobs:
build:
# We need to run on Windows as we're supporting .NET Framework
runs-on: windows-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Compute and set build number
shell: bash
run: |
echo "CI_BUILD_NUMBER=$(($CI_BUILD_NUMBER_BASE+1000))" >> $GITHUB_ENV
- name: Build & Push
env:
PR_TRIGGER: ${{ env.PR_TRIGGER }}
DOTNET_CLI_TELEMTRY_OPTOUT: true
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: pwsh
run: |
./Build.ps1