diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b233c7f6..a9d90702 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,23 +31,29 @@ jobs: steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Setup sonarqube uses: warchant/setup-sonar-scanner@v1 - name: Get Image Version - uses: VirtoCommerce/vc-github-actions/get-image-version@dev + uses: VirtoCommerce/vc-github-actions/get-image-version@master id: image + - name: Get changelog + id: changelog + uses: VirtoCommerce/vc-github-actions/changelog-generator@master + - name: SonarCloud Scan - uses: VirtoCommerce/vc-github-actions/sonar-theme@dev + uses: VirtoCommerce/vc-github-actions/sonar-theme@master - name: Build - uses: VirtoCommerce/vc-github-actions/build-theme@dev + uses: VirtoCommerce/vc-github-actions/build-theme@master - name: Publish id: publish - uses: VirtoCommerce/vc-github-actions/publish-theme@dev + uses: VirtoCommerce/vc-github-actions/publish-theme@master - name: Create Release if: github.ref == 'refs/heads/master' @@ -58,6 +64,7 @@ jobs: release_name: ${{ steps.image.outputs.tag }} draft: false prerelease: false + body: ${{ steps.changelog.outputs.changelog }} - name: Upload Release Asset if: github.ref == 'refs/heads/master' @@ -67,4 +74,4 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps asset_path: ${{ steps.publish.outputs.artifactPath }} asset_name: ${{ steps.publish.outputs.artifactName }} - asset_content_type: application/zip \ No newline at end of file + asset_content_type: application/zip