-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MARP-620 Add publish-release workflow (#63)
- Loading branch information
1 parent
64356ee
commit 7a1ecc5
Showing
2 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: read | ||
|
||
jobs: | ||
build: | ||
uses: axonivy-market/github-workflows/.github/workflows/publish-release.yml@v4 | ||
# The 'publish_release' input parameter is used to control whether the release should be published automatically. | ||
# Uncomment and set to 'false' if you want to prevent the release from being published immediately. | ||
# with: | ||
# publish_release: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,16 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'Release version' | ||
required: true | ||
prerelease: | ||
description: 'Is this a prerelease?' | ||
required: false | ||
default: false | ||
type: boolean | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
build: | ||
uses: axonivy-market/github-workflows/.github/workflows/release-drafter.yml@v4 | ||
with: | ||
version: ${{ github.event.inputs.version }} | ||
prerelease: ${{ github.event.inputs.prerelease }} |