Skip to content

Creat artifact?

Creat artifact? #5

Workflow file for this run

name: Build with Tag
on:
push:
#on:
# push:
# tags:
# - '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
# - name: Set up PHP
# uses: shivammathur/setup-php@v2
# with:
# php-version: '8.2'
#
# - name: Install Composer dependencies
# run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Build assets
run: cd themes/user/app; pnpm install; pnpm run build;
- name: Archive build artifacts
run: |
grep composer.json | xargs rm
grep composer.lock | xargs rm
zip -r ../release.zip .