Skip to content

Commit

Permalink
Merge pull request #87 from bmsteven/feature/test_branch
Browse files Browse the repository at this point in the history
Feature/test branch
  • Loading branch information
bmsteven authored Apr 25, 2022
2 parents bfe79ba + c39c934 commit 3a0ef2b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,25 @@ jobs:

- name: get version
run: |
echo $(cat ./package.json | jq '.version' | tr -d '"')
PACKAGE_VERSION=$(cat ./package.json | jq '.version' | tr -d '"')
echo "::set-output name=PACKAGE_VERSION::$(cat ./package.json | jq '.version' | tr -d '"')"
echo $PACKAGE_VERSION
id: version

- name: Build
run: |
npm run build
- name: test version
run: echo $PACKAGE_VERSION
run: echo ${{ steps.version.outputs.PACKAGE_VERSION }}

- name: eod actions
uses: ./
with:
GITHUB_TOKEN: ${{secrets.TOKEN}}
SLACK_WEBHOOK_URL: ${{secrets.SLACK_WEBHOOK_URL}}
APP_NAME: Engineering-blog
PACKAGE_VERSION: echo $(cat ./package.json | jq '.version' | tr -d '"')
PACKAGE_VERSION: ${{ steps.version.outputs.PACKAGE_VERSION }}

- name: update develop branch
run: |
Expand Down

0 comments on commit 3a0ef2b

Please sign in to comment.