From 7a7ba5a453a21b4d9090400950663400162fcee4 Mon Sep 17 00:00:00 2001 From: Bodong YANG Date: Tue, 5 Mar 2024 06:01:46 +0000 Subject: [PATCH] update release CI --- .github/workflows/release.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 219a0dd57..9044d436d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,21 +1,22 @@ -name: release +name: Release CI on: - push: - tags: - - "v*" + release: + types: [published] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 timeout-minutes: 10 steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: + # use the minimum py ver we support to + # generate the wheel python-version: 3.8 - name: install packages