Skip to content

Commit

Permalink
Make gh action only build and test nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
vepadulano committed Jul 3, 2024
1 parent 48320bd commit a8236e0
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
name: root-conda-nightly

# Controls when the workflow will run
on: workflow_dispatch
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * *'

env:
PYTHONUNBUFFERED: true
Expand Down Expand Up @@ -34,14 +37,14 @@ jobs:
- name: Build ROOT and run unittests
run: ./build_master.sh --clean; ./build_master.sh --build-number="$(date +%Y%M%d)" --test

- name: Generate compressed artifact
run: |
mv root-feedstock/build_artifacts root_conda_nightly_$(date +%Y%m%d)
tar -czvf latest_conda_nightly.tgz root_conda_nightly_$(date +%Y%m%d)
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ROOT conda nightly
path: latest_conda_nightly.tgz
if-no-files-found: error
# - name: Generate compressed artifact
# run: |
# mv root-feedstock/build_artifacts root_conda_nightly_$(date +%Y%m%d)
# tar -czvf latest_conda_nightly.tgz root_conda_nightly_$(date +%Y%m%d)

# - name: Upload artifacts
# uses: actions/upload-artifact@v3
# with:
# name: ROOT conda nightly
# path: latest_conda_nightly.tgz
# if-no-files-found: error

0 comments on commit a8236e0

Please sign in to comment.