Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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