feat: remove curly brackets around groups
This commit is contained in:
parent
fff4b2fef0
commit
fd4709f6fb
1 changed files with 26 additions and 26 deletions
52
action.yml
52
action.yml
|
@ -41,79 +41,79 @@ runs:
|
|||
if: inputs.update_package_database == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
echo ::group::{Pacman Version}
|
||||
echo '::group::Pacman Version'
|
||||
pacman --version
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
echo ::group::{Pacman Update Package Database Output}
|
||||
echo '::group::Pacman Update Package Database Output'
|
||||
sudo pacman -Sy --noconfirm
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
- name: Update checksums
|
||||
if: inputs.update_checksum == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
echo ::group::{updpkgsums Version}
|
||||
echo '::group::updpkgsums Version'
|
||||
updpkgsums --version
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
echo ::group::{updpkgsums Output}
|
||||
echo '::group::updpkgsums Output'
|
||||
updpkgsums
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
- name: Download & Extract Packages
|
||||
shell: bash
|
||||
run: |
|
||||
echo ::group::{PKGBUILD File Content}
|
||||
echo '::group::PKGBUILD File Content'
|
||||
cat PKGBUILD
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
echo ::group::{makepkg Version}
|
||||
echo '::group::makepkg Version'
|
||||
makepkg --version
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
echo ::group::{Download and Extract Package Output}
|
||||
echo '::group::Download and Extract Package Output'
|
||||
makepkg -so --noconfirm --needed
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
echo ::group::{Source Directory Content}
|
||||
echo '::group::Source Directory Content'
|
||||
ls -la src/
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
- name: Lint PKGBUILD
|
||||
shell: bash
|
||||
if: inputs.lint_pkgbuild == 'true'
|
||||
run: |
|
||||
echo ::group::{Namcap Version}
|
||||
echo '::group::Namcap Version'
|
||||
namcap --version
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
echo ::group::{Lint Result - PKGBUILD}
|
||||
echo '::group::Lint Result - PKGBUILD'
|
||||
namcap PKGBUILD
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
echo ::group::{Build Output}
|
||||
echo '::group::Build Output'
|
||||
if [ ${{ inputs.install_package }} = 'true' ]; then
|
||||
makepkg -si --skipchecksums --skippgpcheck --noconfirm --needed
|
||||
else
|
||||
makepkg -s --skipchecksums --skippgpcheck --noconfirm --needed
|
||||
fi
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
echo ::group::{Directory Content After Build}
|
||||
echo '::group::Directory Content After Build'
|
||||
ls -la
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
- name: Lint Package(s)
|
||||
if: inputs.lint_package == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
echo ::group::{Lint Result - Package}
|
||||
echo '::group::Lint Result - Package'
|
||||
namcap *.pkg.tar.zst
|
||||
echo ::endgroup::
|
||||
echo '::endgroup::'
|
||||
|
||||
# TODO: Check if there are pre-existing files that match this and exclude them there
|
||||
- name: Set Output
|
||||
|
|
Loading…
Add table
Reference in a new issue