-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8827356
commit 5d42dca
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This workflow will build a Java project with Maven | ||
name: Build and publish schemas with Maven | ||
|
||
on: | ||
release: | ||
types: [ created ] | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
SSH_KEY: ${{secrets.SUBMODULE_CONTENT_PULL_KEY}} | ||
|
||
jobs: | ||
build-and-publish: | ||
name: Build and publish code | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout main repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Clean with Maven | ||
run: mvn clean | ||
- name: Compile with Maven | ||
run: mvn compile | ||
- name: Run publish with Maven | ||
run: mvn deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>groupId</groupId> | ||
<artifactId>ctr-schemas</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>github</id> | ||
<name>GitHub Packages</name> | ||
<url>https://maven.pkg.github.com/trifork/ctr-schemas</url> | ||
</repository> | ||
</distributionManagement> | ||
|
||
</project> |