Skip to content

Commit 2f2bd39

Browse files
authored
Merge pull request #38 from codacy/fix-release
fix-release
2 parents a44bb68 + 15d8f99 commit 2f2bd39

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
workflow_dispatch:
55
inputs:
66
releaseType:
7-
description: "Release Type"
7+
description: 'Release Type'
88
required: true
99
type: choice
10-
default: "patch"
10+
default: 'patch'
1111
options:
1212
- patch
1313
- minor
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Node version
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: 16
27+
node-version: 18
2828
- name: Install dependencies
2929
run: npm install
3030
- name: Install VSCE
@@ -52,9 +52,9 @@ jobs:
5252
npm version $RELEASE_VERSION --no-git-tag-version
5353
git tag -a v$RELEASE_VERSION -m "v$RELEASE_VERSION"
5454
- name: Package Extension
55-
run: vsce package $RELEASE_VERSION --no-git-tag-version --no-update-package-json -o "./releases/codacy-$RELEASE_VERSION.vsix"
55+
run: vsce package $RELEASE_VERSION --no-git-tag-version --no-update-package-json -o "./releases/codacy-$RELEASE_VERSION.vsix"
5656
- name: Publish to Visual Studio Marketplace
57-
run: vsce publish --packagePath "./releases/codacy-$RELEASE_VERSION.vsix" --no-git-tag-version --no-update-package-json -p ${{ secrets.VSC_MKTP_PAT }}
57+
run: vsce publish --packagePath "./releases/codacy-$RELEASE_VERSION.vsix" --no-git-tag-version --no-update-package-json -p ${{ secrets.VSC_MKTP_PAT }}
5858
- name: Publish to Open VSX Registry
5959
uses: HaaLeo/publish-vscode-extension@v1
6060
with:
@@ -71,7 +71,7 @@ jobs:
7171
- name: GitHub Release
7272
uses: ncipollo/release-action@v1
7373
with:
74-
artifacts: "./releases/codacy-*"
74+
artifacts: './releases/codacy-*'
7575
bodyFile: ${{ github.workspace }}-CHANGELOG.txt
7676
tag: ${{ env.GIT_TAG }}
7777
prerelease: false
@@ -85,4 +85,4 @@ jobs:
8585
"releaseType": "${{ github.event.inputs.releaseType }}"
8686
}
8787
env:
88-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
88+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)