Skip to content

Commit

Permalink
create build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
corsicanec82 committed Sep 5, 2024
1 parent 0d30a31 commit 8620cf8
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build

on:
push:
branches:
# - main
- create-workflow

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set linter directories
run: |
IFS=' ' LINTER_DIRS=($(find . -maxdepth 1 -type d -not -name '.*' -exec basename {} \; | tr '\n' ' '))
- run: for i in $LINTER_DIRS; do echo "--$i--"; done

# - uses: dorny/paths-filter@v3
# id: changes
# with:
# filters: |
# linter_dirs:
# - ${{ join(fromJson(env.LINTER_DIRS), '/**\n- ') }}/**

# - run: |
# echo "Changed directories: ${{ steps.changes.outputs.linter_dirs }}"
4 changes: 4 additions & 0 deletions .github/xz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---

- sss
- ddd
1 change: 1 addition & 0 deletions eslint/app/test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2
1 change: 1 addition & 0 deletions multi-language/app/java/test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2

0 comments on commit 8620cf8

Please sign in to comment.