We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbc08f9 commit d922b8aCopy full SHA for d922b8a
1 file changed
.github/workflows/workflow_callee.yml
@@ -18,12 +18,29 @@ on:
18
pull_request:
19
paths:
20
- '.github/workflows/workflow_callee.yml'
21
+
22
+env:
23
+ LLVM_VERSION: 17
24
+ UPDATE_CACHE: false
25
jobs:
26
+ update-values:
27
+ runs-on: ubuntu-latest
28
+ steps:
29
+ - name: update envs
30
+ run: |
31
+ if [ -n "${{ inputs.llvm_version}}" ]; then
32
+ echo LLVM_VERSION=${{ inputs.llvm_version}} >> $GITHUB_ENV
33
+ echo UPDATE_CACHE=${{ inputs.update_cache}} >> $GITHUB_ENV
34
+ fi
35
+ cat $GITHUB_ENV
36
37
print-inputs:
38
runs-on: ubuntu-latest
39
+ needs: update-values
40
steps:
41
- name: Print the input tag to STDOUT
42
run: |
43
echo ${{ inputs.llvm_version }}
44
echo ${{ inputs.update_cache }}
45
+ echo LLVM="$LLVM_VERSION" CACHE="$UPDATE_CACHE"
46
0 commit comments