🔖 Bump version to 0.0.1 #6
This file contains 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 Artifact | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Make '.build' directory | |
run: mkdir .build | |
- name: Download DevTools/ConsoleScript.php | |
run: wget -O .build/build.php https://raw.githubusercontent.com/pmmp/DevTools/stable/src/ConsoleScript.php | |
- name: Build source to artifact.phar | |
run: php -dphar.readonly=0 .build/build.php --make ./ --out .build/artifact.phar | |
- name: Display structure of current working directory | |
run: ls -R | |
- name: Upload artifact.phar | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifact | |
path: .build/artifact.phar | |
retention-days: 90 |