Skip to content

Commit

Permalink
测试action
Browse files Browse the repository at this point in the history
  • Loading branch information
NagaResst committed Nov 23, 2024
1 parent 479662a commit b71d75b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/push-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
push:
branches: [ master ]
workflow_dispatch:
input:
force_upload:
description: 'Force Upload file to OSS'
required: false
default: false

jobs:
check-version-and-push:
Expand Down Expand Up @@ -63,7 +68,10 @@ jobs:
with open('Data/version', 'r') as f:
current_version = json.load(f)
if force_upload != false:
current_version = "latest"
else:
current_version = json.load(f)
previous_version = get_previous_version()
Expand Down

0 comments on commit b71d75b

Please sign in to comment.