1 in 2 Probability Executor in Node.js ( 10000000 ) #65693
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 1-in-2-Probability-Executor-in-Node.js | |
on: | |
schedule: | |
- cron: '*/5 * * * *' | |
workflow_dispatch: | |
inputs: | |
Execution_Count: | |
description: 'Execution Count' | |
required: false | |
default: '10000000' | |
type: string | |
run-name: 1 in 2 Probability Executor in Node.js ( ${{ github.event.inputs.Execution_Count || '10000000' }} ) | |
concurrency: | |
group: my-workflow-group | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22.x' | |
- name: Run script | |
run: node script.js ${{ github.event.inputs.Execution_Count || '10000000' }} |