diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2784ca5..adf27fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,5 @@ jobs: - name: Build with Maven run: | mvn --batch-mode clean package -PbuildKar - find . -name "*.kar" - find . -name "*.jar" + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..030dda2 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +name: Release +on: + push: + tags: + - "v*" +permissions: + contents: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 11 for x64 + uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'temurin' + architecture: x64 + - name: Build with Maven + run: | + mvn --batch-mode clean package -PbuildKar + - name: Release with Notes + uses: softprops/action-gh-release@v1 + with: + files: | + nexus-repository-ansiblegalaxy/target/*.jar + nexus-repository-ansiblegalaxy/target/*.kar + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index 39cda33..65aa47c 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,8 @@ The table below outlines what version of Nexus Repository the plugin was built a | v0.2.2 | 3.38.0-01 / 3.39.0.01 | | v0.3.0 | \>= 3.41.0 | | v0.3.1 | \>= 3.41.0 | +| v0.3.3 | \>= 3.67.0 (Java 11) | +| v0.4.x (TBD) | \>= 3.69.0 (Java 17) | If a new version of Nexus Repository is released and the plugin needs changes, a new release will be made, and this table will be updated to indicate which version of Nexus Repository it will function against. This is done on a time