diff --git a/.github/workflows/mbsolr-tests.yml b/.github/workflows/mbsolr-tests.yml new file mode 100644 index 0000000..05c8099 --- /dev/null +++ b/.github/workflows/mbsolr-tests.yml @@ -0,0 +1,32 @@ +name: MusicBrainz Solr Tests + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + submodules: true + + - name: Set up Eclipse Temurin 17 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + cache: 'maven' + cache-dependency-path: | + mmd-schema/brainz-mmd2-jaxb/pom.xml + mb-solr/pom.xml + + - name: Install brainz-mmd2-jaxb package with Maven + run: | + find src/main/java -type f -print0 | xargs -0 touch + mvn install + working-directory: mmd-schema/brainz-mmd2-jaxb + + - name: Build mb-solr package with Maven + run: mvn package + working-directory: mb-solr diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2314be1..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -language: java -jdk: -- openjdk11 -cache: - directories: - - "$HOME/.m2" -before_install: -- echo "MAVEN_OPTS='-Xmx1536m'" > ~/.mavenrc -- pushd mmd-schema/brainz-mmd2-jaxb -- mvn -DskipTests install -- popd -- cd mb-solr -after_success: -- mvn package -DskipTests -deploy: - provider: releases - api_key: - secure: AySi8wvNxlziW1xHuXV8LRyMkSDZ3apVmL/qmrjV8rtxFcJ/eRnqLyG/EkTPE1pLYHFJp6iZv4Z9v86zwbrYV9gdJPE02Deh2uOb4P6lAciI70LRcM7M27I8gBSxcGl6+gDYwZa5jBOlErME8HwoF+bKOuix9HWkzm5nX9O76WZ/0XZL7gKtrhFuWgu+a1t+wilNXiOHWHJ4UvMtrmt4EmuGV/qCFjp45O+LxYDXQHBJE/m7nmvtwfs7JK5tPK1KF17LkP/QcldHkllPMzB5875nGy2hJ1uJNgRh6AMui3rIsYHs4QhUPwYQy5+xlc4oEK40gGVLzcNymFM5+kZWuKARhkRVMGxHO94T2OCJnC1pFyTcUuNI8qkZYg2bs0XMEHVt+jCKzUmltb54lOk5bzpJEgiczPFoKAP0Gl19SNehecFb8BOkF7cB2Nctq7Rg8y86m6njwNiT1HeluABQ6wu9Y8mF3/q6xaEUZMzIvaTBWYkkYOzFpUjaeVB0UuZ4GSetTVDoJW48/Bu1s29Eb+RDH8VxoyFXjf0lIt7z3Qq541QiOi2oU3C4Td7/zowC0dX03DMCcm4yxlXJ/G/lGZTOx1hyRXVR9JM4zbghKOu9HqQptKhDuxAnVY4LIWqLdTb/qDD/3PpUBBMYIqWEUYg203g7dk60B5JrzoiR/1Y= - file_glob: true - file: target/*.jar - skip_cleanup: true - draft: true - on: - all_branches: true - tags: true