From 90bd97b9c00efb0f286a3dca46266a8c5ba1e317 Mon Sep 17 00:00:00 2001 From: Frank Lee Date: Fri, 18 Mar 2022 17:26:24 +0800 Subject: [PATCH] [devops] fixed workflow bug (#462) --- .github/workflows/release.yml | 2 +- .github/workflows/release_test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a50839b01..e9dbf195e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: workflow_dispatch jobs: build-n-publish: - if: github.base_ref == 'main' && github.repository == 'hpcaitech/ColossalAI' && contains('["FrankLeeeee", "ver217", "feifeibear", "kurisusnowdeng"]', github.actor) + if: github.base_ref == 'main' && github.repository == 'hpcaitech/ColossalAI' && contains(fromJson('["FrankLeeeee", "ver217", "feifeibear", "kurisusnowdeng"]'), github.actor) name: Build and publish Python 🐍 distributions 📦 to PyPI runs-on: ubuntu-latest timeout-minutes: 20 diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml index b28e34fb2..81fe80b38 100644 --- a/.github/workflows/release_test.yml +++ b/.github/workflows/release_test.yml @@ -4,7 +4,7 @@ on: workflow_dispatch jobs: build-n-publish: - if: github.base_ref == 'main' && github.repository == 'hpcaitech/ColossalAI' && contains('["FrankLeeeee", "ver217", "feifeibear", "kurisusnowdeng"]', github.actor) + if: github.base_ref == 'main' && github.repository == 'hpcaitech/ColossalAI' && contains(fromJson('["FrankLeeeee", "ver217", "feifeibear", "kurisusnowdeng"]'), github.actor) name: Build and publish Python 🐍 distributions 📦 to Test PyPI runs-on: ubuntu-latest timeout-minutes: 20