Skip to content

Bump actions/checkout from 4.1.1 to 4.1.5 #61

Bump actions/checkout from 4.1.1 to 4.1.5

Bump actions/checkout from 4.1.1 to 4.1.5 #61

Workflow file for this run

name: Spack buildcache build
on: push
env:
SPACK_BACKTRACE: please
jobs:
rebuild:
runs-on: ubuntu-22.04
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- name: Setup Spack
uses: spack/setup-spack@5ab3c91bdefffffad9a7e45d1d156146afebb3a7
- name: Find compilers
run: spack -e . compiler find --mixed-toolchain
- name: Concretize
run: spack -e . -v concretize
- name: Install
run: |
spack -e . env depfile -o Makefile
make -Orecurse -j $(($(nproc) + 1)) SPACK_INSTALL_FLAGS=--no-check-signature
- name: Push packages and update index
run: |
spack mirror set --push --oci-username ${{ github.actor }} --oci-password "${{ secrets.GITHUB_TOKEN }}" github-actions-buildcache
spack -e . buildcache push -j $(($(nproc) + 1)) --base-image ubuntu:22.04 --update-index github-actions-buildcache
if: ${{ !cancelled() }}