Skip to content

Commit

Permalink
new sharding builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Strafbefehl committed Oct 13, 2023
1 parent c3db3b4 commit e175dd8
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Maven Publish

on:
push:
branches:
- unstable # Anpassen, wenn Ihre Hauptentwicklungsbranch einen anderen Namen hat

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '11' # Anpassen, je nach Ihrer verwendeten Java-Version

- name: Build and publish Maven package
run: |
mvn -B clean package
mvn deploy
env:
MAVEN_CLI_OPTS: -DskipTests # Hier können Sie weitere Maven-Optionen hinzufügen

- name: Publish to GitHub Packages
run: |
echo "//maven.pkg.github.com/Strafbefehl/Vinyl-Core/:username=Strafbefehl" > ~/.m2/serverId.properties
mvn deploy
env:
USERNAME: ${{ github.actor }}
secrets:
TOKEN: ${{ secrets.TOKEN }} # Dieses Token gewährt Zugriff auf GitHub Packages
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<modelVersion>4.0.0</modelVersion>

<groupId>rystudio.strafbefehl.vinyl</groupId>
<artifactId>core</artifactId>
<version>1.0.39-RELEASE</version>
<artifactId>core-unstable</artifactId>
<version>1.0.40-UNSTABLE</version>
<packaging>jar</packaging>
<name>Vinyl-Core</name>

Expand Down

0 comments on commit e175dd8

Please sign in to comment.