From 4c30a1ac6885126d01397691aecd85c809bb13ba Mon Sep 17 00:00:00 2001 From: LamGC Date: Thu, 25 Aug 2022 16:11:10 +0800 Subject: [PATCH] =?UTF-8?q?ci(github-action):=20=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E5=90=8D=E7=A7=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 后续可能会加上 Maven 的发布, 所以把名字和文件名都改一下, 防止出现歧义. --- .github/workflows/create-release.yml | 2 +- .../{release-container-image.yml => publish-artifacts.yml} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{release-container-image.yml => publish-artifacts.yml} (96%) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 14deea3..0323775 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -14,7 +14,7 @@ permissions: contents: write jobs: - build: + create-release: timeout-minutes: 10 runs-on: ubuntu-latest diff --git a/.github/workflows/release-container-image.yml b/.github/workflows/publish-artifacts.yml similarity index 96% rename from .github/workflows/release-container-image.yml rename to .github/workflows/publish-artifacts.yml index 0139bc7..a871d82 100644 --- a/.github/workflows/release-container-image.yml +++ b/.github/workflows/publish-artifacts.yml @@ -1,4 +1,4 @@ -name: Release container image +name: Publish artifacts on: release: @@ -9,7 +9,7 @@ env: IMAGE_NAME: lamgc/scalabot jobs: - release-image: + publish-container-image: runs-on: ubuntu-latest timeout-minutes: 15