Skip to content

Commit e1379ac

Browse files
authored
fix(ci): use gh CLI for release creation (#17)
1 parent 74ad7d3 commit e1379ac

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,14 @@ jobs:
147147
file_path: ./artifact/${{ env.INFO_FILE }}
148148

149149
- name: 3. Create Tag & Release
150-
uses: ncipollo/release-action@v1.14.0
151-
with:
152-
artifacts: ./artifact/${{ env.VSIX_FILE }}
153-
body: ${{ needs.changelog.outputs.changelog }}
154-
makeLatest: true
155-
commit: ${{ steps.artifact_manifest.outputs.sha }}
156-
tag: ${{ steps.artifact_manifest.outputs.version }}
150+
run: |
151+
gh release create "${{ steps.artifact_manifest.outputs.version }}" `
152+
--title "${{ steps.artifact_manifest.outputs.version }}" `
153+
--notes "${{ needs.changelog.outputs.changelog }}" `
154+
--target "${{ steps.artifact_manifest.outputs.sha }}" `
155+
"./artifact/${{ env.VSIX_FILE }}"
156+
env:
157+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
157158

158159
- name: 4. Publish Release to Marketplace
159160
if: success()

0 commit comments

Comments
 (0)