From 1eec22ca1af748298806afe20eaa0f1e79e2b1b3 Mon Sep 17 00:00:00 2001 From: Amith Koujalgi Date: Sat, 2 Mar 2024 23:18:15 +0530 Subject: [PATCH] Added release-assets GH action --- .github/workflows/release-jar.yml | 41 ------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 .github/workflows/release-jar.yml diff --git a/.github/workflows/release-jar.yml b/.github/workflows/release-jar.yml deleted file mode 100644 index b9014ef..0000000 --- a/.github/workflows/release-jar.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Release JAR - -on: - push: - tags: - - '**' - -permissions: - contents: read - id-token: write - packages: write - -jobs: - build: - - runs-on: ubuntu-latest - - permissions: - contents: write - pull-requests: write - repository-projects: write - - steps: - - uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - server-id: github # Value of the distributionManagement/repository/id field of the pom.xml - settings-path: ${{ github.workspace }} # location for the settings.xml file - - - name: Build with Maven - run: mvn -B clean install package --file pom.xml - - - name: Release Assets - uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - files: target/*.jar