Skip to content

rename parent package #343

rename parent package

rename parent package #343

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Build with Maven
run: mvn clean package
- name: Publish package [on main]
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mvn deploy -DskipTests -Denv=mysql
- uses: actions/delete-package-versions@v4
if: github.ref == 'refs/heads/main'
with:
package-name: 'com.github.binpastes.app'
package-type: 'maven'
min-versions-to-keep: 10
ignore-versions: '1.0.0-SNAPSHOT'
- uses: actions/delete-package-versions@v4
if: github.ref == 'refs/heads/main'
with:
package-name: 'com.github.binpastes.frontend'
package-type: 'maven'
min-versions-to-keep: 10
ignore-versions: '1.0.0-SNAPSHOT'
- uses: actions/delete-package-versions@v4
if: github.ref == 'refs/heads/main'
with:
package-name: 'com.github.binpastes.backend'
package-type: 'maven'
min-versions-to-keep: 10
ignore-versions: '1.0.0-SNAPSHOT'