diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..84f28835f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Build + +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + + permissions: + contents: read + packages: write + + steps: + - uses: actions/checkout@v6 + + - uses: actions/setup-java@v5 + with: + distribution: temurin + java-version: "8" + cache: maven + + - run: mvn -B clean deploy -P github-dashdevs + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index a85e13d16..b3e612db7 100644 --- a/pom.xml +++ b/pom.xml @@ -465,6 +465,32 @@ + + + github-dashdevs + + + github + https://maven.pkg.github.com/dashdevs/exchange-core + + + github + GitHub Packages + https://maven.pkg.github.com/dashdevs/exchange-core + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + + +