diff --git a/.github/workflows/release-from-tag.yml b/.github/workflows/release-from-tag.yml index 650565f..e790c41 100644 --- a/.github/workflows/release-from-tag.yml +++ b/.github/workflows/release-from-tag.yml @@ -22,11 +22,10 @@ jobs: distribution: 'adopt' 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 Gradle + - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 - with: - arguments: -Ptag=${{github.ref_name}} shadowJar + - name: Build with Gradle + run: ./gradlew -Ptag=${{github.ref_name}} shadowJar - name: GH Release uses: softprops/action-gh-release@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b61e02..8a17780 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,8 +27,7 @@ jobs: distribution: 'adopt' 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 the plugin + - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 - with: - arguments: dockerTest + - name: Test the plugin + run: ./gradlew dockerTest