update release process to support multiple version

This commit is contained in:
nickfyson 2023-12-04 14:28:55 +00:00
parent a16ac98583
commit b7f289ef4d
7 changed files with 388 additions and 65 deletions

View file

@ -0,0 +1,33 @@
name: 'Prepare release job'
description: 'Executed preparatory steps before update a release branch'
runs:
using: "composite"
steps:
- name: Dump environment
run: env
shell: bash
- name: Dump GitHub context
env:
GITHUB_CONTEXT: '${{ toJson(github) }}'
run: echo "$GITHUB_CONTEXT"
shell: bash
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install PyGithub==1.55 requests
shell: bash
- name: Update git config
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
shell: bash