Skip to content

Update a.yml

Update a.yml #25

Workflow file for this run

name: Engine VD Scanner tools Delivery
# Controls when the action will run.
on:
# Triggers the workflow on pull request but only changes in src/engine/source/vdscanner/{tools,src,include} directories.
# Trigger on pull request changes
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
# Trigger when a pull request is merged into master
push:
branches:
- master
# Allows manual trigger.
workflow_dispatch:
# Ensures only one instance of this workflow is running per PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
env:
BUILD_PRESET: debug
ENGINE_DIR: ${{github.workspace}}/src/engine
TOOLS_DIR: ${{github.workspace}}/src/engine/build/source/vdscanner/tools
TOOLS_FILE_NAME: vdscanner_tools
FEEDMANAGER_DIR: ${{github.workspace}}/src/engine/source/feedmanager
jobs:
build:
name: Engine VD Scanner Tools Delivery
# Runs only if the PR status is different to Draft
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: Check out repository
uses: actions/checkout@v4
# Only uploads the vdscanner tools if:
# - The PR is merged into master
# - The workflow is manually triggered
- name: Echo test
if: ${{ success() && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }}
run: |
echo "Test"
echo "Event name: ${{ github.event_name }}"
echo "Base ref: ${{ github.base_ref }}"