From 3e25efdf6d62f6d57afce1952aba6a3e33c66c9f Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sun, 17 Nov 2024 14:40:39 +0100 Subject: [PATCH] ci: better regex for tags --- .github/workflows/java.yml | 2 +- .github/workflows/javascript.yml | 2 +- .github/workflows/lua.yml | 2 +- .github/workflows/python.yml | 2 +- .github/workflows/rust.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 41d2dd4..d498afc 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -3,7 +3,7 @@ name: java on: push: tags: - - 'v*.*.*' + - 'v[0-9]+.[0-9]+.[0-9]+' permissions: contents: read diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml index 2666e47..c1436d5 100644 --- a/.github/workflows/javascript.yml +++ b/.github/workflows/javascript.yml @@ -3,7 +3,7 @@ name: javascript on: push: tags: - - 'v*.*.*' + - 'v[0-9]+.[0-9]+.[0-9]+' permissions: contents: read diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index 8f7bdf8..f5c0c89 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -3,7 +3,7 @@ name: lua on: push: tags: - - 'v*.*.*' + - 'v[0-9]+.[0-9]+.[0-9]+' permissions: contents: read diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index a136221..4c4ca50 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -8,7 +8,7 @@ name: python on: push: tags: - - 'v*.*.*' + - 'v[0-9]+.[0-9]+.[0-9]+' permissions: contents: read diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b49548f..0e93f37 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -3,7 +3,7 @@ name: rust on: push: tags: - - 'v*.*.*' + - 'v[0-9]+.[0-9]+.[0-9]+' env: CARGO_TERM_COLOR: always