Removed main branch condition.
This commit is contained in:
parent
f59640aa9c
commit
63bb7cb097
|
@ -37,11 +37,11 @@ jobs:
|
||||||
run: mvn -B verify --file pom.xml
|
run: mvn -B verify --file pom.xml
|
||||||
|
|
||||||
- name: Build Package for Release
|
- name: Build Package for Release
|
||||||
if: ${{ github.ref_name == 'main' && startsWith(github.ref, 'refs/tags/') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
run: ./scripts/package-linux-deb.sh
|
run: ./scripts/package-linux-deb.sh
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: ${{ github.ref_name == 'main' && startsWith(github.ref, 'refs/tags/') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
|
|
Loading…
Reference in New Issue