From ce022959aa7f8bdfe8a1e7dc4b3e125f1632db3f Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Thu, 22 Feb 2024 12:23:26 +0100 Subject: [PATCH] more info --- .github/workflows/manual-publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/manual-publish.yml b/.github/workflows/manual-publish.yml index fea2bc66cc..cd779cb22a 100644 --- a/.github/workflows/manual-publish.yml +++ b/.github/workflows/manual-publish.yml @@ -41,6 +41,11 @@ jobs: const manifest = JSON.parse(fs.readFileSync('package.json', 'utf8')); const version = manifest.version; core.setOutput('version', version); + const alpha = version.includes('alpha'); + core.setOutput('alpha', alpha); + const validVersion = /^\d+\.\d+\.\d+$/.test(version); + core.setOutput('valid_version', validVersion); + return validVersion - name: Display Info uses: streetsidesoftware/actions/public/summary@v1 @@ -50,6 +55,7 @@ jobs: ref: ${{ inputs.ref }} version: `${{ steps.version.outputs.version }}` alpha: ${{ contains(steps.version.outputs.version, 'alpha') }} + versionInfo: ${{ steps.version.outputs }} - name: Test Exit run: |