Skip to content

Commit

Permalink
migrate github-release to softprops/action-gh-release
Browse files Browse the repository at this point in the history
  • Loading branch information
fqjony committed Oct 23, 2024
1 parent 37f7da9 commit 492be4f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
driver: docker-container

- name: Prepare Docker cache directory
run: mkdir -p /tmp/.buildx-cache
run: mkdir -p /tmp/.buildx-cache

- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile') }}
restore-keys: |
${{ runner.os }}-buildx-
${{ runner.os }}-buildx-
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v2
Expand Down Expand Up @@ -94,10 +94,9 @@ jobs:
git push origin ${{ needs.test-pipeline.outputs.semVer }}
- name: Create GitHub release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ needs.test-pipeline.outputs.semVer }}
release_name: ${{ needs.test-pipeline.outputs.semVer }}
body: ${{ needs.test-pipeline.outputs.changelog }}
draft: false
prerelease: false
Expand Down

0 comments on commit 492be4f

Please sign in to comment.