linux-py37 #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
# A temporary workflow to build tiledb-py with Python 3.7 on linux-64. | |
# Required to support TileDB Cloud UDFs until service agreement expires | |
name: linux-py37 | |
on: | |
schedule: | |
# "At minute 23 past hour 0, 6, 12, and 18." | |
# https://crontab.guru/#23_0,6,12,18_*_*_* | |
- cron: "23 0,6,12,18 * * *" | |
workflow_dispatch: | |
jobs: | |
update-recipe: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/TileDB-Inc/tiledb-py-feedstock/tree/build-linux-64-py37 | |
- name: Clone tiledb-py-feedstock | |
uses: actions/checkout@v3 | |
with: | |
repository: TileDB-Inc/tiledb-py-feedstock | |
ref: build-linux-64-py37 | |
ssh-key: ${{ secrets.SSH_PRIVATE_KEY_TILEDB_PY }} | |
- name: Configure Git | |
run: | | |
git config user.name "GitHub Actions" | |
git config user.email "[email protected]" | |
- name: Update recipe | |
run: | | |
wget -O recipe/meta.yaml \ | |
https://raw.githubusercontent.com/conda-forge/tiledb-py-feedstock/main/recipe/meta.yaml | |
git diff | |
- name: Commit | |
run: | | |
git commit -a -m "Update recipe" || echo "nothing to commit" | |
- name: Push | |
if: github.repository_owner == 'TileDB-Inc' | |
run: git push origin build-linux-64-py37 |