portable-php icon indicating copy to clipboard operation
portable-php copied to clipboard

Add Github action

Open cadars opened this issue 3 years ago • 1 comments

I tried to add a simple Github action to run portable.php from the repo:

name: RUN
on:
  push:
    branches: [ main ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - uses: nanasess/setup-php@master
      with:
        php-version: '5.6'
    - run: php ./portable.php > index.html

But it produced these errors:

Screen Shot 2021-10-20 at 06 08 47

Anyone with some PHP skills to point me in the right direction?

cadars avatar Jan 04 '22 17:01 cadars

Undefined variables are now defined (don’t laugh) so the action runs, but how do I make it generate index.html?

cadars avatar Feb 08 '22 21:02 cadars

https://github.com/cadars/portable-php/pull/5

cadars avatar Nov 24 '23 21:11 cadars