File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 68
68
- name : Install Pod
69
69
working-directory : ./tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips
70
70
run : pod install --clean-install
71
+ - name : Set TOKEN Environment Variable
72
+ run : |
73
+ if [ -z "${{ secrets.TOKEN }}" ]; then
74
+ echo "TOKEN=dummy" >> $GITHUB_ENV
75
+ else
76
+ echo "TOKEN=${{ secrets.TOKEN }}" >> $GITHUB_ENV
77
+ fi
71
78
- name : Run Test
72
79
run : |
73
80
fosslight_dependency -p tests/test_pypi -o tests/result/pypi
@@ -78,10 +85,10 @@ jobs:
78
85
fosslight_dependency -p tests/test_gradle/jib -o tests/result/gradle
79
86
fosslight_dependency -p tests/test_pub -o tests/result/pub
80
87
fosslight_dependency -p tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips -o tests/result/Cocoapods
81
- fosslight_dependency -p tests/test_swift -o tests/result/swift -t ${{ secrets .TOKEN }}
82
- fosslight_dependency -p tests/test_swift2 -o tests/result/swift2 -t ${{ secrets .TOKEN }}
83
- fosslight_dependency -p tests/test_swift2 -o tests/result/swift3 -t ${{ secrets .TOKEN }}
84
- fosslight_dependency -p tests/test_carthage -o tests/result/carthage -t ${{ secrets .TOKEN }}
88
+ fosslight_dependency -p tests/test_swift -o tests/result/swift -t ${{ env .TOKEN }}
89
+ fosslight_dependency -p tests/test_swift2 -o tests/result/swift2 -t ${{ env .TOKEN }}
90
+ fosslight_dependency -p tests/test_swift2 -o tests/result/swift3 -t ${{ env .TOKEN }}
91
+ fosslight_dependency -p tests/test_carthage -o tests/result/carthage -t ${{ env .TOKEN }}
85
92
reuse :
86
93
runs-on : ubuntu-latest
87
94
steps :
You can’t perform that action at this time.
0 commit comments