Skip to content

Commit

Permalink
Merge pull request #54 from Enterwell/stage
Browse files Browse the repository at this point in the history
release: Fixed working directory in the release-vscode.yml
  • Loading branch information
DorijanH authored Feb 21, 2024
2 parents 0e0ebc7 + da3c325 commit 072f678
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release-vscode.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
name: Release VS Code extension

# Variables
env:
VSCODE_PATH: Enterwell.CI.Changelog.VSCodeExtension

on: workflow_call

jobs:
release:
name: Release VS Code extension
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ env.VSCODE_PATH }}

steps:
# Checkout
Expand All @@ -18,17 +25,17 @@ jobs:
with:
node-version: 20.x
cache: yarn
cache-dependency-path: ./Enterwell.CI.Changelog.VSCodeExtension/yarn.lock
cache-dependency-path: ${{ env.VSCODE_PATH }}/yarn.lock

# Bump version and update changelog
- name: Changelog
id: version-bump
uses: Enterwell/ChangelogManager-GitHub-Action@v3
with:
changelog-location: ./Enterwell.CI.Changelog.VSCodeExtension
changes-location: ./Enterwell.CI.Changelog.VSCodeExtension/changes
changelog-location: ${{ env.VSCODE_PATH }}
changes-location: ${{ env.VSCODE_PATH }}/changes
should-bump-version: true
path-to-project-file: ./Enterwell.CI.Changelog.VSCodeExtension/package.json
path-to-project-file: ${{ env.VSCODE_PATH }}/package.json

# Commit new changes
- name: Commit changelog changes
Expand Down

0 comments on commit 072f678

Please sign in to comment.