Skip to content

Commit

Permalink
adding build and ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Oct 22, 2023
1 parent 4f47f23 commit 361b3e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 37 deletions.
39 changes: 2 additions & 37 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: Java CI

#on: [push]

on:
push:
branches:
- develop
on: [push]

jobs:
build:
Expand All @@ -20,37 +15,7 @@ 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
- name: Build with Maven
run: mvn --batch-mode -Dtest=!**/OpenCV* test -q

- name: Get next version
uses: reecetech/[email protected]
id: version
with:
scheme: semver
increment: patch

- name: Package with Maven
run: "mvn package -DskipTests -Dversion=${{ steps.version.outputs.version }} -q"

# - name: Fake Build
# run: |
# mkdir -p target
# echo ${{ github.sha }} > ./target/myrobotlab.zip

- name: Release
id: release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.ACCESS_TOKEN }}
files: |
./target/myrobotlab.zip
./target/myrobotlab.jar
name: "${{ steps.version.outputs.version }} Nixie"
tag_name: ${{ steps.version.outputs.version }}
generate_release_notes: true
body_path: ./release-template.md
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,7 @@ build/
/lastRestart.py
/.factorypath
start.yml
config
src/main/resources/resource/InMoov2
src/main/resources/resource/ProgramAB
*.iml

0 comments on commit 361b3e8

Please sign in to comment.