testing new release process #4
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: | |
branches: | |
- main | |
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 | |
- name: Release Map | |
uses: "softprops/action-gh-release@v1" | |
with: | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
files: | | |
map.svg | |
map.html |