Skip to content

Commit c4507d4

Browse files
committed
chore: update emoji-data-updater workflow
- Set working directory within the workflow. - Remove redundant working directory changes.
1 parent e994f22 commit c4507d4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/emoji-data-updater.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727
- name: Download emoji-test data
2828
run: |
2929
curl -s -o emojify/src/test/resources/io/wax911/emojify/core/emoji-test.txt https://unicode.org/Public/emoji/${{ env.VERSION }}/emoji-test.txt
30-
30+
31+
- name: Set working directory
32+
run: cd ${{ env.WORKING_DIR }}
33+
3134
- name: Setup Python
3235
uses: actions/setup-python@v5
3336
with:
@@ -44,9 +47,7 @@ jobs:
4447
env:
4548
PYTHONUNBUFFERED: 1
4649
EMOJI_VERSION: ${{ env.VERSION }}
47-
run: |
48-
cd ${{ env.WORKING_DIR }}
49-
poetry run python emoji_generator/generator.py
50+
run: poetry run python emoji_generator/generator.py
5051

5152
- name: Push Changes and Create PR
5253
uses: peter-evans/create-pull-request@v7

0 commit comments

Comments
 (0)