run github workflow only if an actual change has happened

This commit is contained in:
b1ek 2024-05-19 22:53:20 +10:00
parent ee73d00766
commit 28185c57a2
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 10 additions and 0 deletions

View File

@ -3,8 +3,18 @@ name: Build development version
on: on:
push: push:
branches: [ "main" ] branches: [ "main" ]
paths:
- .github/**
- src/**
- Cargo.toml
- Cargo.lock
pull_request: pull_request:
branches: [ "main" ] branches: [ "main" ]
paths:
- .github/**
- src/**
- Cargo.toml
- Cargo.lock
workflow_dispatch: workflow_dispatch:
jobs: jobs: