0.4.2 #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Release PHAR | |
| on: | |
| release: | |
| types: [ published ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| ref: ${{ github.event.release.tag_name }} | |
| - name: Install dependencies | |
| uses: php-actions/composer@v6 | |
| with: | |
| dev: no | |
| php_version: "8.3" | |
| - name: Install Box | |
| run: composer global require humbug/box | |
| - name: Build PHAR | |
| run: | | |
| ~/.composer/vendor/bin/box compile | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: bin/hell2shape.phar | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |