diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml new file mode 100644 index 00000000000..fb30b88aabd --- /dev/null +++ b/.github/workflows/pre-release.yml @@ -0,0 +1,30 @@ +name: pre-release + +on: + push: + branches: + - master + +jobs: + pre-release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Build with Maven + run: mvn clean package + - name: Create package + run: | + cd phoenicis-dist/src/scripts + bash phoenicis-create-package.sh + - uses: marvinpinto/action-automatic-releases@latest + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + prerelease: true + title: "Development Build" + files: phoenicis-dist/*.deb