File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : STK actions quality-check
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ realm :
7+ description : The realm of the account.
8+ required : false
9+ type : string
10+ default : " stackspot"
11+ secrets :
12+ stk-client-id :
13+ required : true
14+ stk-client-secret :
15+ required : true
16+
17+ jobs :
18+ stackspot-runtime-v2 :
19+ name : StackSpot Runtime (v2)
20+ runs-on : ubuntu-latest
21+ env :
22+ LANG : C.UTF-8
23+ LANGUAGE : C.UTF-8
24+ LC_ALL : C.UTF-8
25+ PYTHONIOENCODING : utf-8
26+ steps :
27+ - run : sudo apt update && sudo apt install -y curl unzip git jq
28+ name : install dependencies
29+ - name : Setup STK CLI
30+ run : |
31+ curl \
32+ --fail \
33+ --http2-prior-knowledge \
34+ --location \
35+ --output /tmp/stk.deb \
36+ --silent \
37+ --show-error \
38+ --tlsv1.3 \
39+ https://stk.stackspot.com/installer/linux/stk.deb
40+ sudo dpkg --install /tmp/stk.deb || echo installed
41+ rm --force /tmp/stk.deb
42+ - name : Show STK CLI version
43+ run : $HOME/.stk/bin/stk --version
44+ - name : Login StackSpot
45+ run : |
46+ $HOME/.stk/bin/stk login -id ${{ secrets.stk-client-id }} -key ${{ secrets.stk-client-secret }} -r ${{ inputs.realm }}
You can’t perform that action at this time.
0 commit comments