Skip to content

Commit

Permalink
upgrade release workflow to be able to run Box Manifest v4
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Sep 8, 2024
1 parent 70c2d72 commit 28ce07f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ jobs:
composer-options: "--prefer-dist"

- # https://github.com/llaville/box-manifest
name: Download BOX Manifest Artifact
run: |
curl -Ls https://github.com/llaville/box-manifest/releases/latest/download/box-manifest.phar -o /usr/local/bin/box-manifest
chmod +x /usr/local/bin/box-manifest
name: Download BOX Manifest Artifact
env:
BOX_MANIFEST_VERSION: "4.0.0-rc.1"
run: |
curl -Ls "https://github.com/llaville/box-manifest/releases/download/$BOX_MANIFEST_VERSION/box-manifest.phar" -o /usr/local/bin/box-manifest
chmod +x /usr/local/bin/box-manifest
- # https://github.com/llaville/box-manifest
name: Build Release Artifact
run: |
box-manifest manifest:build --ansi -vv -c box.json --output-file=sbom.json
box-manifest manifest:build --ansi -vv -c box.json --output-file=console.txt --format console
box-manifest manifest:stub --ansi -vv -c box.json --output-file=stub.php --resource console.txt --resource sbom.json
box compile --ansi -vv -c box.json.dist
box info --ansi ${{ github.workspace }}/bin/phplint.phar
name: Build Release Artifact
run: |
box-manifest make build stub configure -r console-table.txt -r plain.txt -r sbom.json --output-stub stub.php --output-conf box.json.dist -vvv --ansi
box compile -c box.json.dist -vvv --ansi
bin/phplint.phar --manifest
- # https://github.com/softprops/action-gh-release
name: Create Release from current tag
Expand Down

0 comments on commit 28ce07f

Please sign in to comment.