Skip to content

Commit

Permalink
Add get_target_branch to RPI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-bc committed Oct 25, 2023
1 parent c58c820 commit fed90bf
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ env:
RPI_TOOLCHAIN_DIR: /tmp/rpi-toolchain

jobs:
get-branch:
name: "Get target branch"
uses: ./.github/workflows/reusable-get-pr-branch.yml
with:
target_repository: fprime-community/fprime-workshop-led-blinker

cross-compilation:
name: "Cross Compilation"
runs-on: ubuntu-latest
Expand All @@ -27,7 +33,7 @@ jobs:
with:
submodules: recursive
repository: fprime-community/fprime-workshop-led-blinker
ref: devel
ref: ${{ needs.get-branch.outputs.target-branch }}
- name: "Overlay current F´ revision"
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit fed90bf

Please sign in to comment.