2
0

build(gha): Add Craft releases as a GitHub action (#538)

This commit is contained in:
Burak Yigit Kaya
2020-06-14 17:27:41 +03:00
committed by GitHub
parent 677e753c18
commit af502d0ba5
3 changed files with 36 additions and 0 deletions

14
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,14 @@
on:
repository_dispatch:
types: [release]
jobs:
release:
runs-on: ubuntu-latest
name: "Release a new version"
steps:
- uses: actions/checkout@v2
- uses: getsentry/craft-action
with:
action: prepare
version: ${{ github.event.client_payload.version }}
dry_run: ${{ github.event.client_payload.dry_run }}