Skip to content

Commit

Permalink
ci: fix obtaining version in theia tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbali256 committed Dec 17, 2020
1 parent 9c65e12 commit 23594bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,13 @@ jobs:
- uses: actions/checkout@v1
- name: Install Chromium
run: apk add --no-cache chromium
- name: Extract branch name
run: echo BRANCH=${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
- name: Update version
if: env.BRANCH == 'master' || startsWith(env.BRANCH, 'release')
run: cd clients/vscode-hlasmplugin && npm ci && npx semantic-release --dry-run
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get version
run: echo VERSION=$(node -e "console.log(require('./clients/vscode-hlasmplugin/package.json').version)") >> $GITHUB_ENV
- name: Download VSIX
Expand Down

0 comments on commit 23594bb

Please sign in to comment.