diff --git a/.github/workflows/Build without Release.yml b/.github/workflows/Build without Release.yml new file mode 100644 index 0000000..246f3c5 --- /dev/null +++ b/.github/workflows/Build without Release.yml @@ -0,0 +1,47 @@ +# This workflow will build a Java project with Maven +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: Build without Release + +on: + workflow_dispatch: + inputs: + name: + description: 'Build without Release' + required: true + default: 'Build' + home: + description: 'location' + required: false + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build with Maven + run: mvn -B -U package -T 2C + - name: Archive artifacts (GeyserSM Spigot) + uses: actions/upload-artifact@v2 + if: success() + with: + name: GeyserSkinManager (Spigot) + path: spigot/target/GeyserSkinManager-Spigot.jar + - name: Archive artifacts (GeyserSM Bungee) + uses: actions/upload-artifact@v2 + if: success() + with: + name: GeyserSkinManager (Bungeecord) + path: bungeecord/target/GeyserSkinManager-BungeeCord.jar diff --git a/common/pom.xml b/common/pom.xml index 196e1f8..7e7f1fb 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -8,6 +8,19 @@ 1.2-SNAPSHOT 4.0.0 + + + + opencollab-snapshot-repo + https://repo.opencollab.dev/maven-snapshots/ + + false + + + true + + + @@ -39,4 +52,4 @@ - \ No newline at end of file + diff --git a/pom.xml b/pom.xml index 7b5ab69..ffa3ff5 100644 --- a/pom.xml +++ b/pom.xml @@ -13,4 +13,4 @@ common spigot - \ No newline at end of file +