Created
April 28, 2022 05:10
-
-
Save brendanmckenzie/8d81479f3ab52d18c753161b104c80ef to your computer and use it in GitHub Desktop.
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
# 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