Skip to content

Commit

Permalink
Use official release action
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Apr 30, 2021
1 parent 07d5345 commit d0f8b97
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,21 +102,13 @@ jobs:
REPO: ${{ env.REPO_SLUG }}
QEMU_REPO: ${{ steps.prep.outputs.repo }}
QEMU_VERSION: ${{ steps.prep.outputs.ref }}
-
name: Create Git tag
if: github.event.inputs.dry-run != 'true'
run: |
git tag ${{ steps.prep.outputs.git_tag }}
git push origin ${{ steps.prep.outputs.git_tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
name: Create Release
uses: softprops/action-gh-release@v1
uses: actions/create-release@v1
if: github.event.inputs.dry-run != 'true'
with:
name: ${{ steps.prep.outputs.git_tag }}
tag_name: ${{ steps.prep.outputs.git_tag }}
release_name: ${{ steps.prep.outputs.git_tag }}
prerelease: ${{ github.event.inputs.latest != 'true' }}
body: |
QEMU [${{ github.event.inputs.qemu_version }}](${{ steps.prep.outputs.repo }}/tree/${{ steps.prep.outputs.ref }}) - `${{ steps.prep.outputs.ref }}`
Expand Down

0 comments on commit d0f8b97

Please sign in to comment.