Skip to content

enable builds on feature branches #10

enable builds on feature branches

enable builds on feature branches #10

Workflow file for this run

on:
push:
branches:
- 'master'
- 'feature/**'
name: build dev version
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install php dependencies
uses: php-actions/composer@v6
id: composer
with:
dev: no
args: --profile -o
working_dir: "webfrontend/htmlauth/include"
- name: Update plugin.cfg file
env:
VERSION: "dev"
run: |
sed -i "s/__VERSION__/$VERSION/g" plugin.cfg
- name: remove not needed folders
run: |
rm .git -r -f
rm .github -r -f
- name: Archive result
uses: actions/upload-artifact@v4
with:
name: plugin
path: .