diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..2b51dda
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,20 @@
+name: Publish package to GitHub Packages
+on:
+ release:
+ types: [created]
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ packages: write
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
+ with:
+ java-version: '11'
+ distribution: 'adopt'
+ - name: Publish package
+ run: mvn --batch-mode deploy
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/pom.xml b/pom.xml
index ee455c8..a8460b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
com.neva.felix
search-webconsole-plugin
bundle
- 1.3.1-jd-SNAPSHOT
+ 2.0.0-SNAPSHOT
search-webconsole-plugin
Search everywhere plugin for Apache Felix Web Console
2017
@@ -32,7 +32,7 @@
https://github.com/neva-dev/felix-search-webconsole-plugin
scm:git:ssh://git@github.com/neva-dev/felix-search-webconsole-plugin.git
scm:git:ssh://git@github.com/neva-dev/felix-search-webconsole-plugin.git
- search-webconsole-plugin-1.1.0
+ HEAD
@@ -58,9 +58,9 @@
- bintray-neva-dev-maven-public
- neva-dev-maven-public
- https://api.bintray.com/maven/neva-dev/maven-public/felix-search-webconsole-plugin/;publish=1;override=1
+ github
+ GitHub Packages
+ https://maven.pkg.github.com/neva-dev/felix-search-webconsole-plugin
@@ -109,7 +109,7 @@
org.apache.felix
maven-bundle-plugin
true
- 4.2.0
+ 5.1.7
Apache Felix Web Console Search Plugin