Files
torsearch/.gitea/workflows/sonarqube_scans.yml
Brock H Caldwell c6f0220889
All checks were successful
CI / build-test (push) Successful in 1m52s
Update ci
2026-03-08 23:31:14 -05:00

44 lines
1010 B
YAML

name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v5
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
- name: Install phing
run: composer global require phing/phing
- name: Run composer
run: composer install --no-dev --no-scripts -o
- name: Build tailwind
run: APP_ENV=build php bin/console tailwind:build
- name: Install frontend assets
run: APP_ENV=build php bin/console importmap:install
- name: Compile assets
run: APP_ENV=build php bin/console asset-map:compile
- name: Create artifact
run: |
file="${{ gitea.REF_NAME }}.tar.gz"
touch $file
tar -czf $file --exclude=$file .
- name: Upload artifact
uses: akkuman/gitea-release-action@v1
with:
files: |
"${{ gitea.REF_NAME }}.tar.gz"