diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index fe12da1b..54998324 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -12,14 +12,11 @@ on: paths-ignore: - '**.md' workflow_dispatch: - -env: - IS_AND: ${{ startsWith(github.event.head_commit.message, '[android]') }} jobs: build: runs-on: ubuntu-latest - if: ${{ env.IS_AND == 'true' }} + if: ${{ startsWith(github.event.head_commit.message, '[android]') == 'true' }} permissions: contents: read packages: write diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml index 83b85a54..418bdbf2 100644 --- a/.github/workflows/webpack.yml +++ b/.github/workflows/webpack.yml @@ -6,13 +6,10 @@ on: pull_request: branches: [master] -env: - IS_WP: ${{ startsWith(github.event.head_commit.message, '[webpack]') }} - jobs: build: runs-on: ubuntu-latest - if: ${{ env.IS_WP == 'true' }} + if: ${{ startsWith(github.event.head_commit.message, '[webpack]') == 'true' }} steps: - uses: actions/checkout@v2