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:
revi 2024-06-18 19:17:55 +09:00
parent 351abd6425
commit 0b10676c4f
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94

View file

@ -9,8 +9,9 @@ on:
jobs:
eslint-config:
name: 'Publish eslint-config to npm'
runs-on: ubuntu-latest
if: github.ref_name == 'eslint-config@v*'
if: contains(github.ref_name, 'eslint-config@')
steps:
- name: 'Checkout'
uses: actions/checkout@v4
@ -29,8 +30,9 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
prettier-config:
name: 'Publish prettier-config to npm'
runs-on: ubuntu-latest
if: github.ref_name == 'prettier-config@v*'
if: contains(github.ref_name, 'prettier-config@')
steps:
- name: 'Checkout'
uses: actions/checkout@v4