mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-16 16:51:02 +02:00
Use release action to automate release creation
This commit is contained in:
parent
988f3bc2d4
commit
72eb6c54f3
1 changed files with 23 additions and 0 deletions
23
.github/workflows/release.yaml
vendored
23
.github/workflows/release.yaml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue