Create release for 4.1.1 #5
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
# Creates a new GitHub Release whenever the Craft Plugin Store | |
# is notified of a new version tag. | |
name: Create Release | |
run-name: Create release for ${{ github.event.client_payload.version }} | |
on: | |
repository_dispatch: | |
types: | |
- craftcms/new-release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: ncipollo/release-action@v1 | |
with: | |
body: ${{ github.event.client_payload.notes }} | |
makeLatest: ${{ github.event.client_payload.latest }} | |
name: ${{ github.event.client_payload.version }} | |
prerelease: ${{ github.event.client_payload.prerelease }} | |
tag: ${{ github.event.client_payload.tag }} |