File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ jobs:
138138 - name : Run scan
139139 env :
140140 GITHUB_REF : ${{ github.ref }}
141+ GITHUB_REPOSITORY : ${{ github.repository }}
141142 run : |
142143 ./occ files:scan admin -vvv
143144 rm data/admin/files/res/alpine.JPG
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ const path = require('path')
33const tar = require ( 'tar' )
44const VERSION = require ( '../package.json' ) . version
55const ref = process . env . GITHUB_REF ? process . env . GITHUB_REF : `refs/tags/v${ VERSION } `
6+ const repository = process . env . GITHUB_REPOSITORY ?? 'nextcloud/recognize'
67
78exports . downloadAll = async ( ) => {
89 await download (
9- `https://github.com/nextcloud/recognize /archive/${ ref } .tar.gz` ,
10+ `https://github.com/${ repository } /archive/${ ref } .tar.gz` ,
1011 path . resolve ( __dirname , '..' ) ,
1112 { filename : 'recognize.tar.gz' }
1213 )
You can’t perform that action at this time.
0 commit comments