From 3270038b2208c84c2925cc036ed3dde8e9358c4c Mon Sep 17 00:00:00 2001 From: Mukesh Kumar <65598381+mukesh154@users.noreply.github.com> Date: Fri, 6 Sep 2024 13:36:41 +0530 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7e7e131..03c35a8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -2,12 +2,12 @@ name: Release on: push: - tags: - - 'v*' + branches: + - 'test*' jobs: create-release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 @@ -16,10 +16,14 @@ jobs: with: java-version: '11' distribution: 'adopt' + - name: Display OS and architecture + run: | + lsb_release -a + uname -m - name: Build with Maven run: mvn -B package -DskipTests - uses: ncipollo/release-action@v1 with: artifacts: "standalone/target/bkvm-*.zip" token: ${{ secrets.GITHUB_TOKEN }} - generateReleaseNotes: true \ No newline at end of file + generateReleaseNotes: true