Skip to content

Commit

Permalink
Merge pull request #10 from blocktrron/v2022.1.x-fetch-tags
Browse files Browse the repository at this point in the history
ci: fetch upstream tags when building from fork
  • Loading branch information
herbetom authored Dec 10, 2023
2 parents 2489a9b + 9a02698 commit 0465975
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 0465975

Please sign in to comment.