Skip to content

Use new binaries

Use new binaries #223

Workflow file for this run

name: Build
on: push
jobs:
build:
name: Phar building
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[Build]')"
steps:
- name: Startup
uses: actions/checkout@v3
- name: Download PHP Release
uses: dsaltares/[email protected]
with:
file: PHP-8.3-Linux-x86_64-PM5.tar.gz
repo: NetherGamesMC/php-build-scripts
version: "tags/pm5-php-8.3-latest"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Unpack PHP Release
run: tar -xzvf PHP-8.3-Linux-x86_64-PM5.tar.gz
- name: Download pharbuilder-rs
uses: dsaltares/[email protected]
with:
file: pharbuilder
repo: NetherGamesMC/pharbuilder-rs
token: ${{ secrets.ng_token }}
- name: Build
run: |
echo Building...
chmod +x pharbuilder
./pharbuilder -i . -o ./NGPlots.phar
echo Build completed!
- name: Upload
uses: actions/upload-artifact@v4
with:
name: NGPlots
path: NGPlots.phar