Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed Sep 14, 2024
1 parent 5c0cdac commit af8f7e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ on:
- '**.md'
workflow_dispatch:

env:
IS_AND: ${{ startsWith(github.event.head_commit.message, '[android]') }}

jobs:
build:

runs-on: ubuntu-latest
if: ${{ env.IS_AND == 'true' }}
permissions:
contents: read
packages: write
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ 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' }}

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit af8f7e9

Please sign in to comment.