Skip to content

Commit 62dc5c8

Browse files
committed
updates
1 parent d57b028 commit 62dc5c8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
packages: write
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1616

1717
- name: Setup Spack
18-
uses: spack/setup-spack@5ab3c91bdefffffad9a7e45d1d156146afebb3a7
18+
uses: spack/setup-spack@11bd71901bbe5b1630ceea73d27597364c9af683
1919

2020
- name: Find compilers
2121
run: spack -e . compiler find --mixed-toolchain
@@ -29,7 +29,10 @@ jobs:
2929
make -Orecurse -j $(($(nproc) + 1)) SPACK_INSTALL_FLAGS=--no-check-signature
3030
3131
- name: Push packages and update index
32+
env:
33+
GITHUB_USER: ${{ github.actor }}
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3235
run: |
33-
spack mirror set --push --oci-username ${{ github.actor }} --oci-password "${{ secrets.GITHUB_TOKEN }}" github-actions-buildcache
36+
spack mirror set --push --oci-username-variable GITHUB_USER --oci-password-variable GITHUB_TOKEN github-actions-buildcache
3437
spack -e . buildcache push -j $(($(nproc) + 1)) --base-image ubuntu:20.04 --update-index github-actions-buildcache
3538
if: ${{ !cancelled() }}

0 commit comments

Comments
 (0)