LevelInputProvider/.gitea/workflows/update_level_inputs.yml
Simon Diesenreiter 4604d11107
All checks were successful
CI / linter (9.0.X, ubuntu-latest) (push) Successful in 3m3s
SonarQube Scan / SonarQube Trigger (push) Successful in 3m4s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Successful in 2m24s
ci: update cron schedules for update pipeline, ref: NOISSUE
2024-12-04 11:39:11 +01:00

35 lines
906 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'
- 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