diff --git a/.github/workflows/cmake-tier1.yml b/.github/workflows/cmake-tier1.yml index 93596d8..a5e84b1 100644 --- a/.github/workflows/cmake-tier1.yml +++ b/.github/workflows/cmake-tier1.yml @@ -1,13 +1,20 @@ name: Build (Tier 1 platforms) -# Triggered automatically on each push to main -on: [push] +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: RelWithDebInfo SMARTMONTOOLS_INSTALLER: smartmontools-7.2-1.win32-setup.exe - SMARTMONTOOLS_URL: https://nav.dl.sourceforge.net/project/smartmontools/smartmontools/7.2/$SMARTMONTOOLS_INSTALLER + SMARTMONTOOLS_URL: https://nav.dl.sourceforge.net/project/smartmontools/smartmontools/7.2/smartmontools-7.2-1.win32-setup.exe jobs: