Regular Release #89
This file contains hidden or 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: Regular Release | |
on: | |
schedule: | |
- cron: '0 14 17 * *' | |
jobs: | |
regular_release: | |
name: Regular Release | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Portable Python Environments - env_python.sh | |
run: | | |
./run.sh env_python.sh | |
- name: Build Portable Python Environments - env_pyspark.sh | |
run: | | |
./run.sh env_pyspark.sh | |
- name: Build Portable Python Environments - env_pyspark_tf.sh | |
run: | | |
./run.sh env_pyspark_tf.sh | |
- name: Build Portable Python Environments - env_pyspark_torch.sh | |
run: | | |
./run.sh env_pyspark_torch.sh | |
- name: Set Environment Variable | |
run: echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
prerelease: false | |
automatic_release_tag: build_${{ env.TODAY }} | |
files: | | |
*.tar.gz | |
- name: Verify Generated Python Environments | |
run: | | |
ls -lha | |
./verify_build.py |