CI(GitHub Actions): Fix syntax if: statement
Summary: Forgot there's contains() logic. Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: `arc land`, and make a new tag and push. Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D357
This commit is contained in:
parent
351abd6425
commit
0b10676c4f
1 changed files with 4 additions and 2 deletions
6
.github/workflows/npm-pub.yml
vendored
6
.github/workflows/npm-pub.yml
vendored
|
@ -9,8 +9,9 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
eslint-config:
|
eslint-config:
|
||||||
|
name: 'Publish eslint-config to npm'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref_name == 'eslint-config@v*'
|
if: contains(github.ref_name, 'eslint-config@')
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout'
|
- name: 'Checkout'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -29,8 +30,9 @@ jobs:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
prettier-config:
|
prettier-config:
|
||||||
|
name: 'Publish prettier-config to npm'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref_name == 'prettier-config@v*'
|
if: contains(github.ref_name, 'prettier-config@')
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout'
|
- name: 'Checkout'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
Loading…
Reference in a new issue