Skip to content

Commit

Permalink
ci: fetch upstream tags when building from fork
Browse files Browse the repository at this point in the history
Fetch upstream tags when building from a Gluon fork.

Signed-off-by: David Bauer <[email protected]>
  • Loading branch information
blocktrron committed Dec 5, 2023
1 parent 09d60bf commit 20822d7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,14 @@ jobs:
fetch-depth: 0
fetch-tags: true

- name: Fetch upstream tags
# yamllint disable rule:line-length
if: ${{ needs.build-meta.outputs.gluon-repository != 'freifunk-gluon/gluon' }}
run: |
git -C gluon-gha-data/gluon remote add upstream https://github.com/freifunk-gluon/gluon.git
git -C gluon-gha-data/gluon fetch upstream --tags
# yamllint enable rule:line-length

- name: Print CPU info
run: cat /proc/cpuinfo

Expand Down

0 comments on commit 20822d7

Please sign in to comment.