2024-12-03 13:25:53 +01:00
|
|
|
name: Update Level Inputs
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
env:
|
|
|
|
SKIP_MAKE_SETUP_CHECK: 'true'
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2024-12-04 11:23:00 +01:00
|
|
|
- cron: '15 0 1-25 12 *'
|
2024-12-03 13:25:53 +01:00
|
|
|
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up dotnet
|
|
|
|
uses: actions/setup-dotnet@v4
|
|
|
|
with:
|
|
|
|
dotnet-version: '9.0.X'
|
2024-12-06 14:45:21 +01:00
|
|
|
- run: pip install gitchangelog
|
2024-12-03 13:25:53 +01:00
|
|
|
- name: Update inputs and publish
|
|
|
|
env:
|
|
|
|
SESSION_COOKIE: ${{ secrets.AOC_SESSION_COOKIE }}
|
2024-12-13 14:02:19 +01:00
|
|
|
run: |
|
2024-12-03 13:25:53 +01:00
|
|
|
dotnet run --project LevelInputUpdateRunner/LevelInputUpdateRunner.csproj
|
2024-12-04 02:01:54 -08:00
|
|
|
git config --global user.email "gitearobot@disi.dev"
|
|
|
|
git config --global user.name "Gitea Robot"
|
2024-12-03 14:07:28 +01:00
|
|
|
git add LevelInputProvider/inputs/*
|
2024-12-03 13:25:53 +01:00
|
|
|
git commit -m "feat(inputs): add current inputs, ref: NOISSUE"
|
|
|
|
make release
|