This commit is contained in:
Ing 2023-04-28 23:41:06 +08:00
parent b8b0137271
commit 68073f4a29
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ on:
default: true
type: boolean
jobs:
build:
configs:
runs-on: ubuntu-latest
steps:
- name: Checkout
@ -51,7 +51,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: grub
name: configs
path: |
files/board/arpl/overlayfs/opt/arpl/model-configs
rss.json

View File

@ -228,13 +228,13 @@ if __name__ == '__main__':
isUpdateConfigs = True
isUpdateRss = True
if len(sys.argv) > 2:
if len(sys.argv) >= 2:
try:
isUpdateConfigs = bool(int(sys.argv[1]))
except ValueError:
isUpdateConfigs = bool(sys.argv[1])
if len(sys.argv) > 3:
if len(sys.argv) >= 3:
try:
isUpdateRss = bool(int(sys.argv[2]))
except ValueError: