From c9364f631b537cebe55a66b5ed4dba5739d70663 Mon Sep 17 00:00:00 2001 From: Manuel Stahl Date: Thu, 18 Apr 2024 21:11:41 +0200 Subject: [PATCH] Fetch tags in github workflows Tags are required to construct the version information. Change-Id: Ic1af3e8f50eafafcc8a0c3ca37f362d6bd05e116 --- .github/workflows/docker-release.yml | 2 ++ .github/workflows/edge_ghpage.yml | 2 ++ .github/workflows/github-release.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 1a2007b..d2b38c6 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -23,6 +23,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-tags: true - name: Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/.github/workflows/edge_ghpage.yml b/.github/workflows/edge_ghpage.yml index ea8cfdb..f9528c4 100644 --- a/.github/workflows/edge_ghpage.yml +++ b/.github/workflows/edge_ghpage.yml @@ -11,6 +11,8 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v4 + with: + fetch-tags: true - uses: actions/setup-node@v4 with: node-version: "18" diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index c12cbdc..e712a45 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -14,6 +14,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-tags: true - uses: actions/setup-node@v4 with: node-version: "18"