-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update GA to receive multiple fpath separated by space as input
- update test-ga to have local tests for new feature
- Loading branch information
Showing
2 changed files
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
name: Test GA | ||
|
||
env: | ||
MULTIPLE_FPATH: mock_public/prj_01/README.md mock_public/prj_02/README.md | ||
|
||
on: | ||
workflow_call: | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Test local version | ||
|
||
- name: Test local version with multiple paths | ||
uses: ./ | ||
with: | ||
filepath: mock_public/prj_01/README.md | ||
- name: Test public latest | ||
uses: nprimo/[email protected] | ||
filepath: ${{env.MULTIPLE_FPATH}} | ||
|
||
- name: Prepare GITHUB_OUTPUT | ||
id: files_to_check | ||
run: | | ||
echo "fpaths=$(find ./mock_public/ -name *.md | xargs)" >> $GITHUB_OUTPUT | ||
- name: Test local version with GITHUB_OUTPUT | ||
uses: ./ | ||
with: | ||
filepath: mock_public/prj_01/README.md | ||
filepath: ${{ steps.files_to_check.outputs.fpaths }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters