mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-19 06:13:43 +00:00
pin to v1.0.0 of github action parser
This commit is contained in:
119 files changed
+9482
-3609
No files matched your search
+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