updated list of locations #8
Workflow file for this run
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: Create ELN Map | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
create-map: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
check-latest: true | |
cache: "pip" | |
cache-dependency-path: "**/requirements.txt" | |
- name: Install dependencies, get prerequisites and run script | |
run: | | |
pip install -r requirements.txt | |
bash download_prerequistes.sh | |
python generate_map.py | |
python generate_map.py germany | |
python generate_map.py nogermany | |
- name: Release Map | |
uses: "softprops/action-gh-release@v1" | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
files: | | |
germany.svg | |
restofeur.svg | |
europe.svg | |
map.html |