Skip to content

Commit

Permalink
Fix build phar job on forks that have no tags
Browse files Browse the repository at this point in the history
  • Loading branch information
asgrim committed Nov 21, 2024
1 parent 3d4ba78 commit 230c48b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-unsigned-phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Ensure some kind of previous tag exists, otherwise box fails
- run: git describe --tags HEAD || git tag 0.0.0
- uses: ramsey/composer-install@v3
- name: Build PHAR
run: box compile
Expand Down

0 comments on commit 230c48b

Please sign in to comment.