Skip to content

Commit a0a6df3

Browse files
committed
Default value for pkgbuild
1 parent 4cb65dd commit a0a6df3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ GitHub Actions to publish AUR package.
1010

1111
### `pkgbuild`
1212

13-
**Required** Path to PKGBUILD file. This file is often generated by prior steps.
13+
**Optional** Path to PKGBUILD file. This file is often generated by prior steps. The default value is './PKGBUILD'
1414

1515
### `assets`
1616

action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ inputs:
1010
required: false
1111
pkgbuild:
1212
description: 'Path to PKGBUILD file'
13-
required: true
13+
default: './PKGBUILD'
14+
required: false
1415
assets:
1516
description: 'Newline-separated glob patterns for additional files to be added to the AUR repository'
1617
required: false

build.sh

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ assert_non_empty() {
2323
fi
2424
}
2525

26-
assert_non_empty inputs.pkgbuild "$pkgbuild"
2726
assert_non_empty inputs.commit_username "$commit_username"
2827
assert_non_empty inputs.commit_email "$commit_email"
2928
assert_non_empty inputs.ssh_private_key "$ssh_private_key"

0 commit comments

Comments
 (0)