Skip to content

create build workflow #4

create build workflow

create build workflow #4

Workflow file for this run

name: build
on:
push:
branches:
# - main
- create-workflow
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set linter directories
run: echo "LINTER_DIRS=$(find . -maxdepth 1 -type d -not -name '.*' -exec basename {} \; | tr '\n' ' ')" >> $GITHUB_ENV
- run: echo $LINTER_DIRS
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
linter_dirs:
- ${{ env.LINTER_DIRS }}/**
- run: |
echo "Changed directories: ${{ steps.changes.outputs.linter_dirs }}"