Update update-os.yml

This commit is contained in:
Ace 2023-12-21 19:40:49 +01:00 committed by GitHub
parent af1ac7b20d
commit c91096c967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,8 @@ jobs:
permissions:
contents: write
env:
CURRENT_DATE: ${{ steps.set_date.outputs.date }}
CURRENT_DATE: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.date ? github.event.inputs.date : (env.DATE_OVERRIDE ? env.DATE_OVERRIDE : '') }}
steps:
- name: Set Date