mirror of
https://github.com/danog/phpdoc-parser.git
synced 2024-12-03 09:58:01 +01:00
34 lines
772 B
YAML
34 lines
772 B
YAML
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
|
|
|
|
name: "Create release"
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
deploy:
|
|
name: "Deploy"
|
|
runs-on: "ubuntu-latest"
|
|
|
|
steps:
|
|
- name: "Checkout"
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Generate changelog
|
|
id: changelog
|
|
uses: metcalfc/changelog-generator@v3.0.0
|
|
with:
|
|
myToken: ${{ secrets.PHPSTAN_BOT_TOKEN }}
|
|
|
|
- name: "Create release"
|
|
id: create-release
|
|
uses: actions/create-release@v1
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.PHPSTAN_BOT_TOKEN }}
|
|
with:
|
|
tag_name: ${{ github.ref }}
|
|
release_name: ${{ github.ref }}
|
|
body: ${{ steps.changelog.outputs.changelog }}
|