Use release action to automate release creation

This commit is contained in:
Cyber MacGeddon 2024-10-04 17:05:19 +01:00
parent 988f3bc2d4
commit 72eb6c54f3

View file

@ -56,3 +56,26 @@ jobs:
- name: Create deploy bundle
run: templates/generate-all deploy.zip v${{ steps.version.outputs.VERSION }}
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# body: |
# Changes in this Release
# - First Change
# - Second Change
# draft: true
# prerelease: true
- uses: ncipollo/release-action@v1
with:
artifacts: deploy.zip
generateReleaseNotes: true
makeLatest: false
prerelease: true
skipIfReleaseExists: true
tag: v${{ steps.version.outputs.VERSION }}