Update main.yml

This commit is contained in:
Andros Fenollosa 2022-01-02 10:09:26 +01:00 committed by GitHub
parent 529fa33de5
commit 331122eeca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,17 +14,18 @@ jobs:
- name: Install Java
run: |
sudo apt update
sudo apt install default-jre
sudo apt install default-jre wget
- name: Configure
run: |
cd recurring-execution-with-actions
wget https://github.com/tanrax/important-stories-alert-for-hacker-news/releases/download/v1.0.2/isahn-1.0.2-standalone.jar
echo "{ :min_score 600 :chat \"${{ secrets.TELEGRAM_CHAT }}\" :bot_token \"${{ secrets.TELEGRAM_BOT_TOKEN }}\" :run_every_miliseconds 3600000 }" > config.edn
- name: Run
run: |
cd recurring-execution-with-actions
java -jar isahn-1.0.1-standalone.jar
java -jar isahn-1.0.2-standalone.jar
- name: Update database
run: |