Skip to content

Merge pull request #18 from prawny331/master #65

Merge pull request #18 from prawny331/master

Merge pull request #18 from prawny331/master #65

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: compute-routes
# Controls when the action will run.
on:
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Get current date
id: date
run: echo "$(date +'%Y-%m-%d')"
# Install Python
- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: install dependencies
run: pip install -r requirements.txt
- name: execute route compute script
run: python parse.py
- name: Commits the data to the Repo
uses: EndBug/add-and-commit@v7
with:
author_name: Github Actions
author_email: github_actions@github.com
message: Compute Routes .JSON
add: '.'