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 @@ -31,10 +31,12 @@ jobs:
31
31
repo_path : ./
32
32
source_path : ./source
33
33
- name : commit SBOM file
34
+ env :
35
+ VERSION_NUMBER : ${{ github.event.inputs.version_number }}
34
36
run : |
35
37
git add .
36
38
git commit -m 'Update SBOM'
37
- git push -u origin ${{ github.event.inputs.version_number }}
39
+ git push -u origin "$VERSION_NUMBER"
38
40
- name : Tag Commit and Push to remote
39
41
run : |
40
42
git tag ${{ github.event.inputs.version_number }} -a -m "coreHTTP Library ${{ github.event.inputs.version_number }}"
63
65
cd coreHTTP
64
66
git submodule update --init --checkout --recursive
65
67
- name : Create ZIP
68
+ env :
69
+ VERSION_NUMBER : ${{ github.event.inputs.version_number }}
66
70
run : |
67
- zip -r coreHTTP-${{ github.event.inputs.version_number }} .zip coreHTTP -x "*.git*"
71
+ zip -r coreHTTP-"$VERSION_NUMBER" .zip coreHTTP -x "*.git*"
68
72
ls ./
69
73
- name : Validate created ZIP
70
74
run : |
76
80
diff -r -x "*.git*" coreHTTP-${{ github.event.inputs.version_number }}/coreHTTP/ ../coreHTTP/
77
81
cd ../
78
82
- name : Build
83
+ env :
84
+ VERSION_NUMBER : ${{ github.event.inputs.version_number }}
79
85
run : |
80
- cd zip-check/coreHTTP-${{ github.event.inputs.version_number }} /coreHTTP
86
+ cd zip-check/coreHTTP-"$VERSION_NUMBER" /coreHTTP
81
87
sudo apt-get install -y lcov
82
88
cmake -S test -B build/ \
83
89
-G "Unix Makefiles" \
You can’t perform that action at this time.
0 commit comments