Update main.yml

This commit is contained in:
CxJuice 2024-06-05 10:08:14 +08:00 committed by GitHub
parent a34a88353b
commit ea22f54d5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ jobs:
changed_files="${{ steps.getfile.outputs.files }}"
temp_file=$(mktemp)
cp json/versions.json $temp_file
cp json/locales/versions.json $temp_file
# Use jq and increment_version function to bump version numbers based on changed files
if echo "$changed_files" | grep -q "addresses.json"; then