Skip to content

Instantly share code, notes, and snippets.

@brendanmckenzie
Created April 28, 2022 05:10
Show Gist options
  • Save brendanmckenzie/8d81479f3ab52d18c753161b104c80ef to your computer and use it in GitHub Desktop.
Save brendanmckenzie/8d81479f3ab52d18c753161b104c80ef to your computer and use it in GitHub Desktop.
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build packages
on:
push:
branches: [main, develop]
jobs:
build_package:
name: Build package
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
- name: Install Dependencies
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Build artifacts
run: |
tar -cjf \
webapp.tbz \
./
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment