We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfb830d commit d771cdcCopy full SHA for d771cdc
1 file changed
.github/workflows/continuous-integration.yml
@@ -145,8 +145,16 @@ jobs:
145
- '8.4'
146
steps:
147
- uses: actions/checkout@v5
148
+ with:
149
+ fetch-depth: 0
150
+ # Fixes `git describe` picking the wrong tag - see https://github.com/php/pie/issues/307
151
+ - run: git fetch --tags --force
152
+ # Ensure some kind of previous tag exists, otherwise box fails
153
+ - run: git describe --tags HEAD || git tag 0.0.0
154
- uses: ramsey/composer-install@v3
155
- name: Build
156
+ env:
157
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
158
run: docker buildx build --file .github/pie-behaviour-tests/Dockerfile --secret id=GITHUB_TOKEN,env=GITHUB_TOKEN --build-arg PHP_VERSION=${{ matrix.php-versions }} -t pie-behat-test .
159
- name: Run Behat
160
run: docker run --volume .:/github/workspace pie-behat-test
0 commit comments