Files
LevelInputProvider/.gitea/workflows/update_level_inputs.yml
simon 1f7fc15c06
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 32s
CI / linter (9.0.X, ubuntu-latest) (push) Successful in 1m30s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Successful in 1m22s
ci: fix bug with dependency install in CI, refs: NOISSUE
2025-12-01 02:27:04 -08:00

35 lines
931 B
YAML

name: Update Level Inputs
permissions:
contents: write
env:
SKIP_MAKE_SETUP_CHECK: 'true'
on:
schedule:
- cron: '15 0 1-25 12 *'
# 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'
- run: pip install gitchangelog --break-system-packages
- name: Update inputs and publish
env:
SESSION_COOKIE: ${{ secrets.AOC_SESSION_COOKIE }}
run: |
dotnet run --project LevelInputUpdateRunner/LevelInputUpdateRunner.csproj
git config --global user.email "gitearobot@disi.dev"
git config --global user.name "Gitea Robot"
git add LevelInputProvider/inputs/*
git commit -m "feat(inputs): add current inputs, ref: NOISSUE"
make release