Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Oct 13, 2023
1 parent 8b2555a commit 7d901e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,25 @@ jobs:
with:
java-version: '11'
distribution: 'adopt'

- name: Dependency Test
run: mvn test -Dtest=org.myrobotlab.framework.DependencyTest -q

- name: Build and Test with Maven
run: mvn --batch-mode -Dtest=!**/OpenCV* test -q

- name: Package with Maven
run: mvn package -DskipTests

- name: Determine Next Version
id: next_version
run: |
latest_release_tag=$(git describe --tags --abbrev=0)
current_version=$(cat version.txt)
major_minor="1.1."
current_version="${latest_release_tag#v}"
increment_version=$((current_version + 1))
next_version="${major_minor}${increment_version}"
echo "::set-output name=next_version::${next_version}"
echo "$next_version" > version.txt
echo "next_version=${next_version}" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
Expand Down
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.1.0

0 comments on commit 7d901e6

Please sign in to comment.