feat: remove curly brackets around groups

This commit is contained in:
Michael Sasser 2024-12-27 12:24:52 +01:00
parent fff4b2fef0
commit fd4709f6fb
Signed by: michael
GPG key ID: 5F653AC7631F5151

View file

@ -41,79 +41,79 @@ runs:
if: inputs.update_package_database == 'true' if: inputs.update_package_database == 'true'
shell: bash shell: bash
run: | run: |
echo ::group::{Pacman Version} echo '::group::Pacman Version'
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 sudo pacman -Sy --noconfirm
echo ::endgroup:: echo '::endgroup::'
- name: Update checksums - name: Update checksums
if: inputs.update_checksum == 'true' if: inputs.update_checksum == 'true'
shell: bash shell: bash
run: | run: |
echo ::group::{updpkgsums Version} echo '::group::updpkgsums Version'
updpkgsums --version updpkgsums --version
echo ::endgroup:: echo '::endgroup::'
echo ::group::{updpkgsums Output} echo '::group::updpkgsums Output'
updpkgsums updpkgsums
echo ::endgroup:: echo '::endgroup::'
- name: Download & Extract Packages - name: Download & Extract Packages
shell: bash shell: bash
run: | run: |
echo ::group::{PKGBUILD File Content} echo '::group::PKGBUILD File Content'
cat PKGBUILD cat PKGBUILD
echo ::endgroup:: echo '::endgroup::'
echo ::group::{makepkg Version} echo '::group::makepkg Version'
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 makepkg -so --noconfirm --needed
echo ::endgroup:: echo '::endgroup::'
echo ::group::{Source Directory Content} echo '::group::Source Directory Content'
ls -la src/ ls -la src/
echo ::endgroup:: echo '::endgroup::'
- name: Lint PKGBUILD - name: Lint PKGBUILD
shell: bash shell: bash
if: inputs.lint_pkgbuild == 'true' if: inputs.lint_pkgbuild == 'true'
run: | run: |
echo ::group::{Namcap Version} echo '::group::Namcap Version'
namcap --version namcap --version
echo ::endgroup:: echo '::endgroup::'
echo ::group::{Lint Result - PKGBUILD} echo '::group::Lint Result - PKGBUILD'
namcap PKGBUILD namcap PKGBUILD
echo ::endgroup:: echo '::endgroup::'
- name: Build - name: Build
shell: bash shell: bash
run: | run: |
echo ::group::{Build Output} echo '::group::Build Output'
if [ ${{ inputs.install_package }} = 'true' ]; then if [ ${{ inputs.install_package }} = 'true' ]; then
makepkg -si --skipchecksums --skippgpcheck --noconfirm --needed makepkg -si --skipchecksums --skippgpcheck --noconfirm --needed
else else
makepkg -s --skipchecksums --skippgpcheck --noconfirm --needed makepkg -s --skipchecksums --skippgpcheck --noconfirm --needed
fi fi
echo ::endgroup:: echo '::endgroup::'
echo ::group::{Directory Content After Build} echo '::group::Directory Content After Build'
ls -la ls -la
echo ::endgroup:: echo '::endgroup::'
- name: Lint Package(s) - name: Lint Package(s)
if: inputs.lint_package == 'true' if: inputs.lint_package == 'true'
shell: bash shell: bash
run: | run: |
echo ::group::{Lint Result - Package} echo '::group::Lint Result - Package'
namcap *.pkg.tar.zst namcap *.pkg.tar.zst
echo ::endgroup:: echo '::endgroup::'
# TODO: Check if there are pre-existing files that match this and exclude them there # TODO: Check if there are pre-existing files that match this and exclude them there
- name: Set Output - name: Set Output