Parcourir la source

Merge pull request #847 from PrivateBin/patch-pipeline

Fix PHP8 pipeline
El RIDO il y a 4 ans
Parent
commit
0fb104b102
1 fichiers modifiés avec 7 ajouts et 3 suppressions
  1. 7 3
      .github/workflows/refresh-php8.yml

+ 7 - 3
.github/workflows/refresh-php8.yml

@@ -12,10 +12,14 @@ jobs:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
 
 
     steps:
     steps:
-      - uses: actions/checkout@v2
-
       - name: Checkout php8 branch 
       - name: Checkout php8 branch 
-        run: git checkout php8
+        uses: actions/checkout@v2
+        with:
+          # directly checkout the php8 branch
+          ref: php8
+          # Number of commits to fetch. 0 indicates all history for all branches and tags.
+          # Default: 1
+          fetch-depth: 0
 
 
       - name: Merge master changes into php8
       - name: Merge master changes into php8
         run: git merge master
         run: git merge master