From cff215f8aad29383add5c9fda3c6d33e12819d95 Mon Sep 17 00:00:00 2001 From: Nut He <18328704+hetao92@users.noreply.github.com> Date: Fri, 10 Sep 2021 15:30:35 +0800 Subject: [PATCH] mod: package after published --- .github/workflows/release.yml | 7 ++++--- .github/workflows/studio-rpm-package.yml | 7 ++++--- .github/workflows/studio-tar-package.yml | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6933f966..3f69a7ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,9 @@ name: Studio Image Release on: - push: - branches: - - master + release: + types: + - published +jobs: jobs: release-image: runs-on: ubuntu-latest diff --git a/.github/workflows/studio-rpm-package.yml b/.github/workflows/studio-rpm-package.yml index e010a3c0..e2a80534 100644 --- a/.github/workflows/studio-rpm-package.yml +++ b/.github/workflows/studio-rpm-package.yml @@ -1,8 +1,9 @@ name: Studio RPM Package on: - push: - branches: - - master + release: + types: + - published +jobs: jobs: package: name: build package diff --git a/.github/workflows/studio-tar-package.yml b/.github/workflows/studio-tar-package.yml index e526eed3..74eb98d4 100644 --- a/.github/workflows/studio-tar-package.yml +++ b/.github/workflows/studio-tar-package.yml @@ -1,8 +1,9 @@ name: Studio Tar Package on: - push: - branches: - - master + release: + types: + - published +jobs: jobs: package: name: build package