diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e21e9fb..4338047 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -38,20 +38,21 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
- mvn deploy -DskipTests -Drevision=1.0.${{ github.run_number }} -Denv=mysql
+ mvn versions:set -DnewVersion=1.0.${{ github.run_number }}
+ mvn deploy -DskipTests -Denv=mysql --projects :backend
- uses: actions/delete-package-versions@v4
with:
package-name: 'com.github.binpastes.app'
package-type: 'maven'
- min-versions-to-keep: 10
+ min-versions-to-keep: 3
- uses: actions/delete-package-versions@v4
with:
package-name: 'com.github.binpastes.frontend'
package-type: 'maven'
- min-versions-to-keep: 10
+ min-versions-to-keep: 3
- uses: actions/delete-package-versions@v4
with:
package-name: 'com.github.binpastes.backend'
package-type: 'maven'
- min-versions-to-keep: 10
+ min-versions-to-keep: 3
diff --git a/backend/pom.xml b/backend/pom.xml
index f4a6dc1..9ce7828 100644
--- a/backend/pom.xml
+++ b/backend/pom.xml
@@ -7,7 +7,7 @@
com.github.binpastes
app
- ${revision}
+ 0.0.1-SNAPSHOT
../pom.xml
@@ -17,7 +17,6 @@
com.github.binpastes
frontend
- ${revision}
diff --git a/frontend/pom.xml b/frontend/pom.xml
index 3a53426..5418787 100644
--- a/frontend/pom.xml
+++ b/frontend/pom.xml
@@ -7,7 +7,7 @@
com.github.binpastes
app
- ${revision}
+ 0.0.1-SNAPSHOT
../pom.xml
@@ -19,7 +19,7 @@
com.github.eirslett
frontend-maven-plugin
- v18.16.1
+ v18.18.2
diff --git a/pom.xml b/pom.xml
index fdddde7..be1464a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
com.github.binpastes
app
- ${revision}
+ 0.0.1-SNAPSHOT
pom
BinPastes
@@ -31,7 +31,6 @@
UTF-8
- 1.0.0-SNAPSHOT
17