make action only run on changes in src folder

This commit is contained in:
Marie 2022-08-26 11:53:07 +02:00 committed by GitHub
parent 94bfbcb569
commit e16f2b21a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,10 @@ name: Build & Upload Launcher
on:
push:
branches: [ "main" ]
paths: ['src/**']
pull_request:
branches: [ "main" ]
paths: ['src/**']
env:
CARGO_TERM_COLOR: always