mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
97 lines
1.2 KiB
ReStructuredText
97 lines
1.2 KiB
ReStructuredText
.. _JOBTMPL/GitHubReleasePage:
|
|
|
|
Release
|
|
#######
|
|
|
|
This job creates a Release Page on GitHub.
|
|
|
|
**Release Template in Markdown**:
|
|
|
|
.. parsed-literal::
|
|
|
|
**Automated Release created on: ${{ steps.getVariables.outputs.datetime }}**
|
|
|
|
# New Features
|
|
|
|
* tbd
|
|
* tbd
|
|
|
|
# Changes
|
|
|
|
* tbd
|
|
* tbd
|
|
|
|
# Bug Fixes
|
|
|
|
* tbd
|
|
* tbd
|
|
|
|
# Documentation
|
|
|
|
* tbd
|
|
* tbd
|
|
|
|
# Unit Tests
|
|
|
|
* tbd
|
|
* tbd
|
|
|
|
----------
|
|
# Related Issues and Pull-Requests
|
|
|
|
* tbd
|
|
* tbd
|
|
|
|
|
|
**Behavior:**
|
|
|
|
1. Extract information from environment variables provided by GitHub Actions.
|
|
2. Create a Release Page on GitHub
|
|
|
|
**Dependencies:**
|
|
|
|
* :gh:`actions/create-release` (unmaintained)
|
|
|
|
Instantiation
|
|
*************
|
|
|
|
Simple Example
|
|
==============
|
|
|
|
.. code-block:: yaml
|
|
|
|
jobs:
|
|
Release:
|
|
uses: pyTooling/Actions/.github/workflows/Release.yml@r0
|
|
|
|
|
|
Complex Example
|
|
===============
|
|
|
|
.. code-block:: yaml
|
|
|
|
jobs:
|
|
Release:
|
|
uses: pyTooling/Actions/.github/workflows/Release.yml@r0
|
|
if: startsWith(github.ref, 'refs/tags')
|
|
needs:
|
|
- Package
|
|
|
|
|
|
Parameters
|
|
**********
|
|
|
|
This job template needs no input parameters.
|
|
|
|
|
|
Secrets
|
|
*******
|
|
|
|
This job template needs no secrets.
|
|
|
|
|
|
Results
|
|
*******
|
|
|
|
This job template has no output parameters.
|