Skip to content

build-7.2

build-7.2 #14

Workflow file for this run

name: build-7.2
on:
push:
branches:
- "releases/*"
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- macos-11
redis:
- "7.2.3"
- "7.2.2"
- "7.2.1"
- "7.2.0"
steps:
- uses: actions/checkout@v4
- name: build
shell: bash
run: ./build-redis-with-openssl3.sh "$REDIS_VERSION"
env:
REDIS_VERSION: ${{ matrix.redis }}
- name: upload
run: |
ACTIONS_VERSION=v$(jq -r .version < "$GITHUB_WORKSPACE/package.json")
OS=$(uname | tr '[:upper:]' '[:lower:]')
mv "$RUNNER_TEMP/redis-bin.tar.zstd" "$RUNNER_TEMP/redis-$REDIS_VERSION-$OS-x64.tar.zstd"
gh release upload --clobber "$ACTIONS_VERSION" "$RUNNER_TEMP/redis-$REDIS_VERSION-$OS-x64.tar.zstd"
env:
REDIS_VERSION: ${{ matrix.redis }}
GITHUB_TOKEN: ${{ github.token }}