Skip to content

Commit bfd0d79

Browse files
davidmhewittbilelmoussaoui
authored andcommitted
Don't override branch input
1 parent 2c141f3 commit bfd0d79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flatpak-builder/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Configuration {
2626
this.runTests = core.getBooleanInput('run-tests') || false
2727
// The bundle name
2828
this.bundle = core.getInput('bundle') || 'app.flatpak'
29-
this.branch = core.getInput('branch')
29+
this.branch = core.getInput('branch') || 'master'
3030
// Whether to build a bundle or not
3131
this.buildBundle = core.getBooleanInput('build-bundle') || true
3232
// Whether to restore the cache or not
@@ -56,7 +56,6 @@ class Configuration {
5656
this.buildDir = 'flatpak_app'
5757
// The flatpak repository name
5858
this.localRepoName = 'repo'
59-
this.branch = 'master'
6059
// Verbosity
6160
this.verbose = core.getBooleanInput('verbose') || false
6261
}

0 commit comments

Comments
 (0)