Nightly Build #1526
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: Nightly Build | |
on: | |
schedule: | |
- cron: '0 2 * * *' # run at 2 AM UTC | |
jobs: | |
build: | |
name: Nightly Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date +'%Y-%m-%d')" | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
architecture: x64 | |
- name: Set up AllegroGraph (Docker) | |
run: | | |
docker version | |
docker pull franzinc/agraph:v7.1.0 | |
- name: install deps | |
run: | | |
pip install -r requirements.txt | |
python generate_brick.py | |
python handle_extensions.py | |
- name: zip imports and extensions | |
run: | | |
zip -r imports.zip imports | |
zip -r extensions.zip extensions | |
- uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
prerelease: true | |
automatic_release_tag: nightly | |
title: Nightly Build ${{ steps.date.outputs.date }} | |
files: | | |
Brick.ttl | |
Brick+imports.ttl | |
Brick+extensions.ttl | |
Brick-only.ttl | |
imports.zip | |
extensions.zip |