From c74e879d8ed1421334e76babef198cdf4e03dd60 Mon Sep 17 00:00:00 2001 From: PaulZC Date: Wed, 17 Nov 2021 12:37:11 +0000 Subject: [PATCH] Use the branch that triggered the workflow run --- .github/workflows/compile-sketch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml index 997ad05..d088906 100644 --- a/.github/workflows/compile-sketch.yml +++ b/.github/workflows/compile-sketch.yml @@ -94,7 +94,7 @@ jobs: platforms: ${{ matrix.board.platforms }} fqbn: ${{ matrix.board.fqbn }} libraries: | - - source-url: https://github.com/${{github.repository}}.git + - source-url: https://github.com/${{github.repository}}/tree/${{github.ref:11}}.git sketch-paths: | - examples/Example10_AltitudeMSL - examples/Example11_ResetModule/Example1_FactoryDefaultviaI2C