Skip to content

feat: setup ci

feat: setup ci #1

Workflow file for this run

name: deploy
on:
push:
branches:
- MC1_39
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup PHP with composer
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
- name: Install dependencies
run: composer update --no-dev
- name: Pack
run: |
tar -czvf --exclude-from=./.github/workflows/exclude dist.tgz .
- name: Create release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: dist.tgz