Skip to content

Bump redis from 5.0.8 to 5.2.0 #17

Bump redis from 5.0.8 to 5.2.0

Bump redis from 5.0.8 to 5.2.0 #17

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
release:
if: ${{ !github.event.pull_request.draft }}
name: Release
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
shell: bash -el {0}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
environment-file: conda/dev.yaml
channels: conda-forge,nodefaults
activate-environment: poc-django-reactjs
auto-update-conda: true
conda-solver: libmamba
- name: Create file with environment variables
run: touch .env
- name: Install dependencies
run: |
poetry config virtualenvs.create false
poetry install
- name: Update npm
run: npm -g update npm
- name: Run semantic release (for tests)
if: ${{ github.event_name != 'workflow_dispatch' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: makim release.dry
- name: Release command
if: ${{ github.event_name == 'workflow_dispatch' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
makim release.ci
- name: Generate documentation with changes from semantic-release
run: makim docs.build
- name: GitHub Pages action
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build