Procházet zdrojové kódy

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

Michele Caini před 6 roky
rodič
revize
7c45423969
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      .github/workflows/coverage.yml

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

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