Run bot #33481
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: Run bot | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 */6 * * *' | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
env: | |
CONSUMER_KEY: ${{ secrets.CONSUMER_KEY }} | |
CONSUMER_SECRET: ${{ secrets.CONSUMER_SECRET }} | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
ACCESS_TOKEN_SECRET: ${{ secrets.ACCESS_TOKEN_SECRET }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nim | |
uses: iffy/[email protected] | |
- name: Run bot | |
run: | | |
nimble install -d -y | |
nim c -r nimlangbot.nim |