Added steps to package and release.
This commit is contained in:
parent
770adab863
commit
5dbe6aa4aa
|
@ -34,6 +34,14 @@ jobs:
|
||||||
- name: Test with Maven
|
- name: Test with Maven
|
||||||
run: mvn -B verify --file pom.xml
|
run: mvn -B verify --file pom.xml
|
||||||
|
|
||||||
- name: Release If Tagged Main
|
- name: Build Package for Release
|
||||||
if: ${{ github.ref_name == 'main' }}
|
if: ${{ github.ref_name == 'main' && startsWith(github.ref, 'refs/tags/') }}
|
||||||
run: echo "Push to main!"
|
run: ./scripts/package-linux-deb.sh
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
|
if: ${{ github.ref_name == 'main' && startsWith(github.ref, 'refs/tags/') }}
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
fail_on_unmatched_files: true
|
||||||
|
files: |
|
||||||
|
*.deb
|
||||||
|
|
Loading…
Reference in New Issue