generated from Templates/Dotnet_Library
35 lines
907 B
YAML
35 lines
907 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
|
|
- 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
|