Skip to content

Commit

Permalink
re-enabling password-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Dec 11, 2024
1 parent 4c1c9d3 commit afb5c3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,21 @@ runs:
run: |
spack -e myenv mirror set --push \
--oci-username ${{ github.actor }} \
--oci-password ${{ inputs.build-cache-token }} mochi-buildcache
--oci-password-variable MY_OCI_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: |
MY_OCI_TOKEN=${{ inputs.build-cache-token }} \
spack -e myenv buildcache push --base-image ubuntu:22.04 \
--unsigned --only dependencies --update-index mochi-buildcache
- name: Push dependency packages to buildcache and update index
if: ${{ (inputs.build-cache-token != 'unspecified') && (inputs.push-only-dependencies == 'false') }}
shell: bash
run: |
MY_OCI_TOKEN=${{ inputs.build-cache-token }} \
spack -e myenv buildcache push --base-image ubuntu:22.04 \
--unsigned --update-index mochi-buildcache
Expand Down

0 comments on commit afb5c3e

Please sign in to comment.