We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d7dba commit b6ac81dCopy full SHA for b6ac81d
src/swiftorg.ts
@@ -51,7 +51,7 @@ export class Swiftorg {
51
gitArgs.push('--recursive', '--remote')
52
}
53
core.debug(`Initializing submodules in "${MODULE_DIR}"`)
54
- await exec('git', ['init'], {cwd: MODULE_DIR})
+ await exec('git', ['init', '-b', 'main'], {cwd: MODULE_DIR})
55
core.debug(`Updating submodules in "${MODULE_DIR}" with args "${gitArgs}"`)
56
await exec('git', gitArgs, {cwd: MODULE_DIR})
57
const swiftorg = path.join(MODULE_DIR, 'swiftorg')
0 commit comments