Skip to content

Commit

Permalink
more info
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Feb 22, 2024
1 parent f3e04b9 commit ce02295
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit ce02295

Please sign in to comment.