Skip to content

Commit

Permalink
Revert "Update release.yml - remove node modules folder (AST-47573)"
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvoBen authored Nov 24, 2024
1 parent be88bc6 commit cd0a936
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ jobs:
cat <<< $(jq ".version.Minor = ${{ env.MINOR_VERSION }}" ./cxAstScan/task.json) > ./cxAstScan/task.json
cat <<< $(jq ".version.Patch = ${{ env.PATCH_VERSION }}" ./cxAstScan/task.json) > ./cxAstScan/task.json
- name: Remove node_modules
run: rm -rf node_modules cxAstScan/node_modules

- name: Create extension
run: tfx extension create --manifest-globs vss-extension.json

Expand All @@ -75,18 +72,17 @@ jobs:
files: ./${{ env.PUBLISHER }}.${{ env.EXTENSION_ID }}-${{ env.RELEASE_VERSION }}.vsix
generate_release_notes: true

- name: Release to marketplace
- name: Release to marketplance
run: tfx extension publish --vsix *.vsix --token ${{ secrets.AZURETOKEN }}

- name: Get latest release notes
- name: Get latest relase notes
id: release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
body_release="$(gh api -H "Accept: application/vnd.github.v3+json" /repos/Checkmarx/ast-azure-plugin/releases/latest | jq -r '.body' )"
body_release="${body_release//$'\n'/'%0A'}"
echo "::set-output name=body_release::$body_release"
- name: Converts Markdown to HTML
id: convert
uses: lifepal/markdown-to-html@253bbd85fbdeafe2d1f18c1b9289be24e5cf8f8f #v1.2
Expand Down

0 comments on commit cd0a936

Please sign in to comment.