From cebcc5a440283ae555f2a58593e9b5fffde8af44 Mon Sep 17 00:00:00 2001
From: Ivan Topolnjak <ivantopo@kamon.io>
Date: Tue, 27 Jun 2023 11:02:20 +0200
Subject: [PATCH] force fetching on Github actions

---
 .github/workflows/ci.yml      | 2 +-
 .github/workflows/release.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2363d0604..921ceff7b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,7 +10,7 @@ jobs:
       JVM_OPTS: -Xms5120M -Xmx5120M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
     steps:
       - uses: actions/checkout@v1
-      - run: git fetch --depth=1 origin '+refs/tags/*:refs/tags/*'
+      - run: git fetch -f --depth=1 origin '+refs/tags/*:refs/tags/*'
       - uses: coursier/cache-action@v6
       - uses: coursier/setup-action@v1
         with:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0c8cdd04d..0275e2148 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,7 +12,7 @@ jobs:
       JVM_OPTS: -Xms5120M -Xmx5120M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
     steps:
       - uses: actions/checkout@v1
-      - run: git fetch --depth=1 origin '+refs/tags/*:refs/tags/*'
+      - run: git fetch -f --depth=1 origin '+refs/tags/*:refs/tags/*'
       - uses: coursier/cache-action@v6
       - uses: coursier/setup-action@v1
         with: