mirror of
https://github.com/PlaneQuery/OpenAirframes.git
synced 2026-07-25 19:20:50 +02:00
change from 7 days to 1
This commit is contained in:
@@ -12,10 +12,10 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
chunk_days:
|
chunk_days:
|
||||||
description: 'Days per job chunk (default: 7)'
|
description: 'Days per job chunk (default: 1)'
|
||||||
required: false
|
required: false
|
||||||
type: number
|
type: number
|
||||||
default: 7
|
default: 1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generate-matrix:
|
generate-matrix:
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ def main() -> None:
|
|||||||
"""Main entry point for GitHub Actions."""
|
"""Main entry point for GitHub Actions."""
|
||||||
start_date = os.environ.get("INPUT_START_DATE")
|
start_date = os.environ.get("INPUT_START_DATE")
|
||||||
end_date = os.environ.get("INPUT_END_DATE")
|
end_date = os.environ.get("INPUT_END_DATE")
|
||||||
chunk_days = int(os.environ.get("INPUT_CHUNK_DAYS", "7"))
|
chunk_days = int(os.environ.get("INPUT_CHUNK_DAYS", "1"))
|
||||||
|
|
||||||
if not start_date or not end_date:
|
if not start_date or not end_date:
|
||||||
print("ERROR: INPUT_START_DATE and INPUT_END_DATE must be set", file=sys.stderr)
|
print("ERROR: INPUT_START_DATE and INPUT_END_DATE must be set", file=sys.stderr)
|
||||||
|
|||||||
Reference in New Issue
Block a user