ci: rename release.yml to tag.yml, fix trigger to match non-v tags
- Trigger was 'v*' but tags are bare semver (0.3.0) — fix to '[0-9]*' - Rename to tag.yml to reflect tag-driven build purpose - Add zip to apt dependencies (required for release zip step)
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
name: Release
|
name: Tag Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "[0-9]*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -61,8 +61,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if command -v apt-get >/dev/null 2>&1; then
|
if command -v apt-get >/dev/null 2>&1; then
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y python3.12 python3.12-venv python3-pip patchelf ccache || \
|
apt-get install -y python3.12 python3.12-venv python3-pip patchelf ccache zip || \
|
||||||
apt-get install -y python3 python3-pip python3-venv patchelf ccache
|
apt-get install -y python3 python3-pip python3-venv patchelf ccache zip
|
||||||
elif command -v dnf >/dev/null 2>&1; then
|
elif command -v dnf >/dev/null 2>&1; then
|
||||||
dnf install -y python3 python3-pip python3-devel patchelf ccache
|
dnf install -y python3 python3-pip python3-devel patchelf ccache
|
||||||
elif command -v yum >/dev/null 2>&1; then
|
elif command -v yum >/dev/null 2>&1; then
|
||||||
Reference in New Issue
Block a user