Skip to content

Commit

Permalink
on to release processes...
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnlindsay committed Oct 13, 2023
1 parent 87565cf commit a837a8c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get current version
run: cat package.json
- name: Extract version from package.json
uses: sergeysova/jq-action@v2
id: version
with:
cmd: 'jq .version package.json -r'

- name: Show my version
run: 'echo "version ${{ steps.version.outputs.value }}"'

0 comments on commit a837a8c

Please sign in to comment.