From 3780b4cf95058ab09bbd2c3072769e78fd9908f0 Mon Sep 17 00:00:00 2001 From: Yujia Qiao Date: Fri, 21 Jan 2022 23:05:23 +0800 Subject: [PATCH] ci: enable manually running ci --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afc2e42..5bed9c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,8 @@ on: tags: - '*' + workflow_dispatch: + env: CARGO_TERM_COLOR: always @@ -108,6 +110,7 @@ jobs: draft: true docker: name: Publish to Docker Hub + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest needs: release steps: @@ -126,6 +129,7 @@ jobs: tags: rapiz1/rathole:latest, rapiz1/rathole:${{ github.ref_name }} publish-crate: name: Publish to crates.io + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest needs: release steps: