Skip to content

Commit

Permalink
trying a gitaction release
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Oct 13, 2023
1 parent 1d3f6a1 commit 0cd81c7
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,24 @@ jobs:
distribution: 'adopt'
- name: Dependency Test
run: mvn test -Dtest=org.myrobotlab.framework.DependencyTest -q
- name: Build with Maven
- name: Build and Test with Maven
run: mvn --batch-mode -Dtest=!**/OpenCV* test -q
- name: Package with Maven
run: mvn package -DskipTests
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Artifacts
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target/myrobotlab.zip
asset_name: myrobotlab.zip
asset_content_type: application/zip

0 comments on commit 0cd81c7

Please sign in to comment.