From a3b35a4a06ed9eaf05f34f677b7d27b666fb4cbe Mon Sep 17 00:00:00 2001 From: stertooy <5571903+stertooy@users.noreply.github.com> Date: Thu, 20 Nov 2025 22:56:48 +0100 Subject: [PATCH 1/2] Minor cleanup, use ::error:: before throwing exit code 1 --- action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 3e55d67..181e454 100644 --- a/action.yml +++ b/action.yml @@ -37,7 +37,7 @@ inputs: description: 'make bootstrap-pkg-? (i.e. full/minimal)' required: false default: 'REMOVED' - + runs: using: "composite" steps: @@ -74,7 +74,7 @@ runs: echo "::error::Please see 'https://github.com/gap-actions/setup-gap/blob/main/README.md' for further information." exit 1 fi - + - name: "Install dependencies" shell: bash if: ${{ runner.os != 'Windows' }} @@ -132,7 +132,7 @@ runs: echo "Version: exact tag match" VERSION=${{ inputs.gap-version }} else - echo "No release, branch or tag with name ${{ inputs.gap-version }} found" + echo "::error::No release, branch or tag with name ${{ inputs.gap-version }} found" exit 1 fi fi @@ -165,7 +165,7 @@ runs: CHK=${CHK#\\} # Compare checksums if [[ "$SHA" != "$CHK" ]] ; then - echo "Checksum is wrong!" + echo "::error::Checksum is wrong!" exit 1 fi # Extract archive @@ -180,7 +180,7 @@ runs: run: | cd $GAPROOT CONFIGFLAGS="${{ inputs.configflags }}" - + if [ -f "autogen.sh" ] ; then echo "::group:: Running autogen" ./autogen.sh @@ -194,7 +194,7 @@ runs: ./configure $CONFIGFLAGS echo "::group:: Running make" - make -j4 V=1 + make -j$(nproc) V=1 - name: "Make GAP executable" shell: bash From fd1e12958d0782043607557811f10b5a38387937 Mon Sep 17 00:00:00 2001 From: stertooy <5571903+stertooy@users.noreply.github.com> Date: Tue, 25 Nov 2025 13:56:14 +0100 Subject: [PATCH 2/2] README: update checkout action version to v6 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4c09403..e0f852a 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: gap-actions/setup-gap@v3 # ... additional steps using GAP will usually follow here ``` @@ -111,7 +111,7 @@ jobs: steps: - uses: gap-actions/setup-cygwin@v2 if: ${{ matrix.os == 'windows-latest' }} - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: gap-actions/setup-gap@v3 with: gap-version: ${{ matrix.gap-version }}