Skip to content

Update Pluggable Action Evaluator #69

Update Pluggable Action Evaluator

Update Pluggable Action Evaluator #69

Workflow file for this run

name: Update Pluggable Action Evaluator
on:
workflow_dispatch:
inputs:
network_type:
required: true
default: 'odin'
type: choice
options:
- odin
- heimdall
- thor
description: 'Choose the mainnet network to update the appsettings.json'
new_start_value:
required: true
description: 'The new start index (e.g. 20000000)'
new_lib9c_commit:
required: true
description: 'The lib9c commit for the newly added evaluator (e.g. 678ac90398f376698ee75da63ed089fe678d11e6)'
jobs:
update-paev:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- uses: actions/[email protected]
with:
python-version: 3.10.13
- name: install dependencies
run: |
python -m pip install -r requirements.txt
flit install
working-directory: ./scripts
- name: Update Pluggable Action Evaluator
run: |
python cli.py update-paev \
${{ github.event.inputs.network_type }} \
${{ github.event.inputs.new_start_value }} \
${{ github.event.inputs.new_lib9c_commit }}
working-directory: ./scripts
env:
GITHUB_TOKEN: ${{ secrets.P_GITHUB_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}