mirror of
https://github.com/actions/python-versions.git
synced 2025-04-05 14:59:39 +00:00
18 lines
597 B
YAML
18 lines
597 B
YAML
name: Create release
|
|
on:
|
|
repository_dispatch:
|
|
types: [create-release]
|
|
|
|
jobs:
|
|
create_release:
|
|
name: Create release ${{ github.event.client_payload.ToolVersion }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Create release for Python ${{ github.event.client_payload.ToolVersion }}
|
|
uses: actions/create-release@v1
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
tag_name: ${{ github.event.client_payload.TagName }}
|
|
release_name: ${{ github.event.client_payload.ToolVersion }}
|
|
body: ${{ github.event.client_payload.ReleaseBody }} |