ci: add initial implementation of update runner action, ref: A24-10
This commit is contained in:
32
.gitea/workflows/update_level_inputs.yml
Normal file
32
.gitea/workflows/update_level_inputs.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Update Level Inputs
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
env:
|
||||
SKIP_MAKE_SETUP_CHECK: 'true'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '15 8 1-25 12 *'
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
run:
|
||||
needs: release
|
||||
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 add ./LevelInputProvider/input/*
|
||||
git commit -m "feat(inputs): add current inputs, ref: NOISSUE"
|
||||
make release
|
||||
Reference in New Issue
Block a user