Skip to content

Commit

Permalink
Implement mimification
Browse files Browse the repository at this point in the history
  • Loading branch information
leynier authored Mar 31, 2020
1 parent 5a55e10 commit 5d0a801
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import os
import requests # noqa We are just importing this to prove the dependency installed correctly
from json import dump, load
from os import makedirs


def main():
my_input = os.environ["INPUT_MYINPUT"]

my_output = f"Hello {my_input}"

print(f"::set-output name=myOutput::{my_output}")
makedirs('data/mini', exist_ok=True)
data = load(open('data/covid19-cuba.json'))
dump(data, open('data/mini/covid19-cuba.json', 'w'))


if __name__ == "__main__":
Expand Down

0 comments on commit 5d0a801

Please sign in to comment.