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: on:
push: push:
branches: [ "main" ] branches: [ "main" ]
paths: ['src/**']
pull_request: pull_request:
branches: [ "main" ] branches: [ "main" ]
paths: ['src/**']
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always