mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-26 20:26:00 +08:00
22 lines
578 B
YAML
22 lines
578 B
YAML
name: Update copyright years
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '12 0 1 1 *' # Run on the first day of every year at 00:12 UTC, or 08:12 UTC+8
|
|
|
|
jobs:
|
|
run:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: FantasticFiasco/action-update-license-year@v3
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
path: |
|
|
Directory.Build.props
|
|
BililiveRecorder.WPF/Properties/AssemblyInfo.cs
|
|
transform: '(?<=Copyright © )(?<from>\d{4})-(\d{4})'
|