Skip to content

Commit

Permalink
build: no bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
zlataovce authored Dec 5, 2023
1 parent 9c6c88d commit 3308f1b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- master
workflow_dispatch:
inputs:
bundle:
type: boolean
description: Build a mapping bundle.

jobs:
build:
Expand All @@ -19,7 +23,7 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish bundle with Gradle
if: ${{ !contains(github.event.head_commit.message, 'no bundle') }}
if: ${{ github.event.inputs.bundle == 'true' || !contains(github.event.head_commit.message, 'no bundle') }}
run: ./gradlew publish
env:
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
Expand Down

0 comments on commit 3308f1b

Please sign in to comment.