LevelInputProvider/.gitea/workflows/update_level_inputs.yml
Simon Diesenreiter 96d82766e0
Some checks failed
CI / linter (9.0.X, ubuntu-latest) (push) Successful in 1m55s
SonarQube Scan / SonarQube Trigger (push) Successful in 1m54s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Successful in 1m59s
Update Level Inputs / run (push) Failing after 1m44s
fix: more fixes with release action, ref: NOISSUE
2024-12-06 10:58:22 +01:00

36 lines
961 B
YAML

name: Update Level Inputs
permissions:
contents: write
env:
SKIP_MAKE_SETUP_CHECK: 'true'
on:
schedule:
- cron: '15 0 1-25 12 *'
- cron: '42 3 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 --root-user-action
- 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