File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1111 name : Build the main version of the package
1212 steps :
1313 - uses : actions/checkout@v4
14- - uses : mochi-hpc/mochi-test-build-action@v1
14+ - uses : mochi-hpc/mochi-test-build-action@v2
1515 with :
1616 package-version : " @develop"
Original file line number Diff line number Diff line change 1111 name : Build the latest version of the package
1212 steps :
1313 - uses : actions/checkout@v4
14- - uses : mochi-hpc/mochi-test-build-action@v1
14+ - uses : mochi-hpc/mochi-test-build-action@v2
1515 with :
1616 build-cache-token : ${{ secrets.GITHUB_TOKEN }}
17+ push-only-dependencies : false
Original file line number Diff line number Diff line change 1111 name : Build the main version of the package
1212 steps :
1313 - uses : actions/checkout@v4
14- - uses : mochi-hpc/mochi-test-build-action@v1
14+ - uses : mochi-hpc/mochi-test-build-action@v2
1515 with :
1616 package-version : " @main"
1717 build-cache-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2727 with :
2828 ref : develop
2929
30+ - name : Set install root for Spack
31+ run : |
32+ spack -e tests config add config:install_tree:root:/opt/spack
33+ spack -e tests config add view:/opt/view
34+
3035 - name : Add mochi-spack-packages
3136 run : |
3237 git clone https://github.com/mochi-hpc/mochi-spack-packages
6267 - name : Push packages to buildcache and update index
6368 if : ${{ !cancelled() }}
6469 run : |
70+ export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
6571 spack -e tests mirror set --push \
6672 --oci-username ${{ github.actor }} \
67- --oci-password "${{ secrets. GITHUB_TOKEN }}" mochi-buildcache
73+ --oci-password-variable GITHUB_TOKEN mochi-buildcache
6874 spack -e tests buildcache push --base-image ubuntu:22.04 \
6975 --unsigned --update-index mochi-buildcache
You can’t perform that action at this time.
0 commit comments