Skip to content

Commit

Permalink
rename makepkg option to 'test'
Browse files Browse the repository at this point in the history
  • Loading branch information
rgeraskin committed Aug 9, 2022
1 parent b1fc840 commit 89cbe4c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Glob patterns will be expanded by bash when copying the files to the repository.

**Optional** Update checksums using `updpkgsums`.

### `makepkg`
### `test`

**Optional** Build package using `makepkg` before deploy.
**Optional** Check that PKGBUILD could be built.

### `commit_username`

Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ inputs:
description: 'Update checksums using `updpkgsums`'
required: false
default: 'false'
makepkg:
description: 'Build package using `makepkg` before deploy'
test:
description: 'Check that PKGBUILD could be built'
required: false
default: 'false'
commit_username:
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pkgname=$INPUT_PKGNAME
pkgbuild=$INPUT_PKGBUILD
assets=$INPUT_ASSETS
updpkgsums=$INPUT_UPDPKGSUMS
makepkg=$INPUT_MAKEPKG
test=$INPUT_TEST
commit_username=$INPUT_COMMIT_USERNAME
commit_email=$INPUT_COMMIT_EMAIL
ssh_private_key=$INPUT_SSH_PRIVATE_KEY
Expand Down Expand Up @@ -79,7 +79,7 @@ if [ "$updpkgsums" == "true" ]; then
echo '::endgroup::'
fi

if [ "$makepkg" == "true" ]; then
if [ "$test" == "true" ]; then
echo '::group::Building package with makepkg'
cd /tmp/local-repo/
makepkg --clean --cleanbuild --nodeps
Expand Down

0 comments on commit 89cbe4c

Please sign in to comment.