Skip to content

Commit

Permalink
测试actiong
Browse files Browse the repository at this point in the history
  • Loading branch information
NagaResst committed Nov 23, 2024
1 parent 0a723d4 commit 0f40f50
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/push-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,10 @@ jobs:
return None
raise
force_upload = os.environ['FORCE_UPLOAD']
print(force_upload)
with open('Data/version', 'r') as f:
try:
current_version = force_upload
except:
current_version = json.load(f)
current_version = json.load(f)
previous_version = get_previous_version()
Expand Down

0 comments on commit 0f40f50

Please sign in to comment.