From 881760c8d893dade0e91f33f8f8cbc08a0fed065 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 | 3 +++ .github/workflows/edge_ghpage.yml | 3 +++ .github/workflows/github-release.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index e390137..afb1d58 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -23,6 +23,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 100 + 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..23ec1ae 100644 --- a/.github/workflows/edge_ghpage.yml +++ b/.github/workflows/edge_ghpage.yml @@ -11,6 +11,9 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v4 + with: + fetch-depth: 100 + 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..2ab4c72 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -14,6 +14,9 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 100 + fetch-tags: true - uses: actions/setup-node@v4 with: node-version: "18"