Skip to content

Commit 281d916

Browse files
committed
🐛 fix: specify working-directory
1 parent 0c3d49c commit 281d916

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ runs:
3030
- name: Install dependencies
3131
run: npm install
3232
shell: bash
33+
with:
34+
working-directory: ${{ github.action_path }}
3335

3436
- name: Get changed markdown files
3537
id: files
@@ -39,13 +41,17 @@ runs:
3941
cat changed_files.txt
4042
continue-on-error: true
4143
shell: bash
44+
with:
45+
working-directory: ${{ github.action_path }}
4246

4347
- name: Convert Zenn articles to Qiita format
4448
run: |
4549
for file in $(cat changed_files.txt); do
4650
bash bin/ztoq.sh "$file"
4751
done
4852
shell: bash
53+
with:
54+
working-directory: ${{ github.action_path }}
4955
if: steps.files.outcome == 'success'
5056

5157
- name: Commit converted Qiita articles

0 commit comments

Comments
 (0)