From 97862634c01f638d04019e6ae4aef39b2e042ec7 Mon Sep 17 00:00:00 2001 From: cupen Date: Tue, 26 Mar 2024 16:51:11 +0800 Subject: [PATCH] ci: fix publish --- .github/workflows/python-app.yml | 2 +- .github/workflows/python-publish.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index b1b6d78..b9788c3 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -1,6 +1,6 @@ # This workflow will install Python dependencies, run tests and lint with a single version of Python # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python -name: TestAll +name: Tests on: push: diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index c307d39..3790244 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -9,8 +9,9 @@ name: Publish on: - release: - types: [published] + push: + tags: [ "*" ] + workflow_dispatch: permissions: contents: read