From c8d85f349685757560997077aa3384faa8cdb704 Mon Sep 17 00:00:00 2001 From: yifanwww Date: Sun, 10 Nov 2024 00:32:24 +0800 Subject: [PATCH] tmp --- .github/workflows/github.yml | 21 +++++++++++++++++++++ .github/workflows/release.yml | 7 +------ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/github.yml diff --git a/.github/workflows/github.yml b/.github/workflows/github.yml new file mode 100644 index 0000000..77d3fe2 --- /dev/null +++ b/.github/workflows/github.yml @@ -0,0 +1,21 @@ +name: Release + +on: + push: + tags: + - vtest[0-9]+.[0-9]+.[0-9]+ + - vtest[0-9]+.[0-9]+.[0-9]+-(alpha|beta|rc)(.[0-9]+)? + +jobs: + release: + runs-on: ubuntu-latest + timeout-minutes: 5 + + permissions: + contents: write + + steps: + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa1d00f..be417c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,12 +4,7 @@ on: push: tags: - v[0-9]+.[0-9]+.[0-9]+ - - v[0-9]+.[0-9]+.[0-9]+-alpha - - v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+ - - v[0-9]+.[0-9]+.[0-9]+-beta - - v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+ - - v[0-9]+.[0-9]+.[0-9]+-rc - - v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+ + - v[0-9]+.[0-9]+.[0-9]+-(alpha|beta|rc)(.[0-9]+)? jobs: release: