Skip to content

Commit

Permalink
drop BOX-Manifest support and replace it by standard BOX tool
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Dec 1, 2023
1 parent 1f0dcc4 commit 9b7cff6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,33 @@ jobs:
- ubuntu-22.04
php:
- 8.1
tools:
- box:4.5 # available since https://github.com/shivammathur/setup-php/releases/tag/2.27.0

steps:
- # Git Checkout
- # https://github.com/actions/checkout
name: Checkout
uses: actions/checkout@v3

- # Setup PHP runtime
- # https://github.com/shivammathur/setup-php
name: Setup PHP runtime
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: ${{ matrix.tools }}

- # Install Composer dependencies
- # https://github.com/box-project/box
name: Build Release Artifacts
run: |
box compile
- # https://github.com/ramsey/composer-install
name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
composer-options: "--prefer-dist"

- # Build the current release with artifacts (php archive)
name: Build Release Artifacts
run: |
cd ${{ github.workspace }}
curl -Ls https://github.com/llaville/box-manifest/releases/download/2.3.1/box-manifest.phar -o /usr/local/bin/box-manifest
chmod +x /usr/local/bin/box-manifest
/usr/local/bin/box-manifest compile
- # Create a new Release (from a tag)
- # https://github.com/softprops/action-gh-release
name: Create Release from current tag
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v1
Expand Down
3 changes: 1 addition & 2 deletions box.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
],
"compactors": [
"KevinGH\\Box\\Compactor\\PhpScoper"
],
"metadata": "Bartlett\\BoxManifest\\Composer\\ManifestFactory::toHighlight"
]
}

0 comments on commit 9b7cff6

Please sign in to comment.