Просмотр исходного кода

build: release job needs full checkout with tags

Jakob Borg 6 месяцев назад
Родитель
Сommit
4d92855d76
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      .github/workflows/build-syncthing.yaml

+ 3 - 0
.github/workflows/build-syncthing.yaml

@@ -782,6 +782,9 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
+          ref: ${{ github.ref }} # https://github.com/actions/checkout/issues/882
 
       - name: Download signed packages
         uses: actions/download-artifact@v4