Skip to content

Commit 1744116

Browse files
committed
Add new check
1 parent 69ac647 commit 1744116

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

increment_guard.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Ensures that the current lib version is not yet published but executing the Gradle
2+
# `checkVersionIncrement` task.
3+
4+
name: Check version increment
5+
6+
on:
7+
push:
8+
branches: '**'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
17+
- uses: actions/setup-java@v1
18+
with:
19+
java-version: 1.8
20+
21+
- name: Pull config
22+
run: git submodule update --init --recursive
23+
24+
- name: Check version is not yet published
25+
shell: bash
26+
run: ./gradlew checkVersionIncrement

0 commit comments

Comments
 (0)