File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,20 @@ jobs:
26
26
runs-on : ubuntu-24.04
27
27
28
28
env :
29
- # PCS_API_KEY: Raoul Strackx' personal access key. Only used here, and only provides access to the Intel PCS service, which is public anyway
30
- PCS_API_KEY : ${{ secrets.PCS_API_KEY }}
31
- PCCS_URL : ${{ vars.PCCS_URL }}
32
29
CMAKE_POLICY_VERSION_MINIMUM : 3.5
33
30
34
31
steps :
35
32
- uses : actions/checkout@v4
36
33
34
+ - name : Conditionally export PCS_API_KEY and PCCS_URL
35
+ run : |
36
+ if [ -n "${{ secrets.PCS_API_KEY }}" ]; then
37
+ echo "PCS_API_KEY=${{ secrets.PCS_API_KEY }}" >> $GITHUB_ENV
38
+ fi
39
+ if [ -n "${{ vars.PCCS_URL }}" ]; then
40
+ echo "PCCS_URL=${{ vars.PCCS_URL }}" >> $GITHUB_ENV
41
+ fi
42
+
37
43
- name : Install additional dependencies
38
44
run : |
39
45
# install gpg
You can’t perform that action at this time.
0 commit comments