Skip to content

Commit a4209ec

Browse files
committed
ci(tics): dynamically infer file list
1 parent 3d0284d commit a4209ec

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/tics.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ jobs:
4545
needs: [set-project, call-unit-tests]
4646
permissions:
4747
pull-requests: write
48-
env:
49-
TICS_FILELIST: tics-filelist
5048
steps:
5149
- uses: actions/checkout@v4
5250
with:
@@ -109,9 +107,10 @@ jobs:
109107
mode: 'client'
110108
codetype: 'TESTCODE'
111109
project: chisel
112-
filelist: ${{ env.TICS_FILELIST }}
110+
filelist: ${{ steps.get-filelist.outputs.TICS_FILELIST }}
113111
viewerUrl: 'https://canonical.tiobe.com/tiobeweb/TICS/api/cfg?name=default'
114112
displayUrl: 'https://canonical.tiobe.com/tiobeweb/TICS'
113+
ticsAuthToken: ${{ secrets.TICSAUTHTOKEN }}
115114
installTics: true
116115

117116
- name: Run TiCS server analysis
@@ -122,7 +121,7 @@ jobs:
122121
codetype: 'PRODUCTION'
123122
project: chisel
124123
branchdir: .
125-
filelist: ${{ env.TICS_FILELIST }}
124+
filelist: ${{ steps.get-filelist.outputs.TICS_FILELIST }}
126125
viewerUrl: 'https://canonical.tiobe.com/tiobeweb/TICS/api/cfg?name=default'
127126
displayUrl: 'https://canonical.tiobe.com/tiobeweb/TICS'
128127
ticsAuthToken: ${{ secrets.TICSAUTHTOKEN }}

0 commit comments

Comments
 (0)