Skip to content

Update Spack Package Interface #1096

Update Spack Package Interface

Update Spack Package Interface #1096

Workflow file for this run

name: Update Spack Package Interface
on:
workflow_dispatch:
schedule:
- cron: '0 5 * * *'
jobs:
extraction:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Clone development branch of spack
run: git clone https://github.com/spack/spack /opt/spack
- name: Run update script
run: |
export PATH=/opt/spack/bin:$PATH
spack python generate_packages.py
- name: Push Results
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@users.noreply.github.com"
git add data/*
git commit -m "Automated push with new spackages $(date '+%Y-%m-%d')" || exit 0
git push origin main