Quellcode durchsuchen

GH actions: reattach HEAD (workaround for an issue with the checkout action)

Michele Caini vor 6 Jahren
Ursprung
Commit
7c45423969
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      .github/workflows/coverage.yml

+ 2 - 0
.github/workflows/coverage.yml

@@ -10,6 +10,8 @@ jobs:
 
     steps:
     - uses: actions/checkout@v1
+    - name: Reattach HEAD
+      run: git checkout "$(echo ${{ github.ref }} | sed -E 's|refs/[a-zA-Z]+/||')"
     - name: Compile tests
       working-directory: build
       env: