From a89ed644137ba3cdebcc47a3f775767225e62413 Mon Sep 17 00:00:00 2001 From: Lukas Forer Date: Thu, 14 Mar 2024 12:31:12 +0100 Subject: [PATCH] Create create-release.yml --- .github/workflows/create-release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/create-release.yml diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 0000000..cad09e9 --- /dev/null +++ b/.github/workflows/create-release.yml @@ -0,0 +1,28 @@ +name: Create Release + +on: + push: + tags: + - '*' +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Install JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + + - name: Build + run: mvn install + + - uses: ncipollo/release-action@v1 + with: + allowUpdates: true + artifacts: "target/genomic-utils.jar" + token: ${{ secrets.GITHUB_TOKEN }}