Skip to content

Commit

Permalink
优化自动检测的工作流
Browse files Browse the repository at this point in the history
  • Loading branch information
NagaResst committed Dec 23, 2024
1 parent 47579fb commit 9d4b8d3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/auto-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Check directory
- name: Compare version from JSON file
id: Compare-version
env:
FFXIV_PATCH_VERSION: ${{steps.check_version.outputs.patch_version}}
run: |
pwd && ls -l
if [ $FFXIV_PATCH_VERSION == "$(jq -r '.data' Data/version)" ]; then
echo "No need to update."
exit 0
else
echo "Need to update."
fi
- name: Setup Python
uses: actions/setup-python@v4
Expand Down

0 comments on commit 9d4b8d3

Please sign in to comment.