mirror of
https://gitea.com/gitea/runner.git
synced 2026-08-30 15:57:44 +00:00
pin to v1.0.0 of github action parser
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ func main() {
|
||||
|
||||
file := strings.TrimSpace(os.Args[1])
|
||||
var syscalls io.Reader
|
||||
if strings.HasPrefix(file, "http://") {
|
||||
if strings.HasPrefix(file, "https://") || strings.HasPrefix(file, "http://") {
|
||||
// Download syscalls.master file
|
||||
syscalls = fetchFile(file)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user