mirror of https://github.com/ecmwf/eccodes.git
Pass token to to HPC using env var expansion
This commit is contained in:
parent
83bd0eba05
commit
cd68113dc7
|
@ -11,6 +11,9 @@ on:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GH_REPO_READ_TOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci-hpc:
|
ci-hpc:
|
||||||
name: ci-hpc
|
name: ci-hpc
|
||||||
|
@ -18,7 +21,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name-prefix: eccodes-
|
name-prefix: eccodes-
|
||||||
build-inputs: |
|
build-inputs: |
|
||||||
--env: 'GH_TOKEN='${{ secrets.GH_REPO_READ_TOKEN }}
|
--env: GH_TOKEN=${GH_TOKEN}
|
||||||
--package: ${{ inputs.eccodes || 'ecmwf/eccodes@develop' }}
|
--package: ${{ inputs.eccodes || 'ecmwf/eccodes@develop' }}
|
||||||
--modules: |
|
--modules: |
|
||||||
ecbuild
|
ecbuild
|
||||||
|
|
Loading…
Reference in New Issue