From 4c1c9d3ce68c228606185b602d84402f5998264f Mon Sep 17 00:00:00 2001 From: Matthieu Dorier Date: Wed, 11 Dec 2024 18:24:06 +0000 Subject: [PATCH] reverted to --oci-password --- action.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 3959408..6efc290 100644 --- a/action.yml +++ b/action.yml @@ -85,13 +85,12 @@ runs: run: | spack -e myenv mirror set --push \ --oci-username ${{ github.actor }} \ - --oci-password-variable BUILD_CACHE_TOKEN mochi-buildcache + --oci-password ${{ inputs.build-cache-token }} mochi-buildcache - name: Push dependency packages to buildcache and update index if: ${{ (inputs.build-cache-token != 'unspecified') && (inputs.push-only-dependencies == 'true') }} shell: bash run: | - BUILD_CACHE_TOKEN=${{ inputs.build-cache-token }} \ spack -e myenv buildcache push --base-image ubuntu:22.04 \ --unsigned --only dependencies --update-index mochi-buildcache @@ -99,7 +98,6 @@ runs: if: ${{ (inputs.build-cache-token != 'unspecified') && (inputs.push-only-dependencies == 'false') }} shell: bash run: | - BUILD_CACHE_TOKEN=${{ inputs.build-cache-token }} \ spack -e myenv buildcache push --base-image ubuntu:22.04 \ --unsigned --update-index mochi-buildcache