From 4abe2a5c7cb917d78fe4c29349e2e69f55dbdd13 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Fri, 24 Sep 2021 09:32:54 +0200 Subject: [PATCH] - update action to create release for tags - update changelog builder action --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c098046..4fb736e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,18 +101,16 @@ jobs: - name: "Build Changelog" id: github_release - uses: mikepenz/release-changelog-builder-action@main + uses: mikepenz/release-changelog-builder-action@v2 with: - configuration: "configs/configuration_repo.json" + configuration: ".github/config/configuration.json" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create Release - uses: actions/create-release@v1 + uses: softprops/action-gh-release@6034af24fba4e5a8e975aaa6056554efe4c794d0 with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - body: ${{ steps.github_release.outputs.changelog }} + body: ${{steps.github_release.outputs.changelog}} prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-b') || contains(github.ref, '-a') }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}