Skip to content

Commit

Permalink
feat: setup build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholass003 committed Sep 29, 2024
1 parent 2bf88e9 commit 7722dfa
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build phar
on:
push:
branches: [ci-test]
jobs:
pharynx:
name: build phar
permissions:
contents: write
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer
- run: composer install --ignore-platform-reqs
- uses: SOF3/[email protected]
id: pharynx
with:
additional-assets: |
assets/icon.png
- uses: actions/upload-artifact@v3
with:
name: RedstoneMechanics.phar
path: ${{steps.pharynx.outputs.output-phar}}

0 comments on commit 7722dfa

Please sign in to comment.