diff --git a/.github/workflows/branches.yml b/.github/workflows/branches.yml index a4c76746a..ce880632b 100644 --- a/.github/workflows/branches.yml +++ b/.github/workflows/branches.yml @@ -23,3 +23,8 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} - name: Build with Gradle run: ./gradlew build + - name: Publish Snapshot + run: ./gradlew publishSnapshot + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + if: ${{ github.ref == 'fabric/master' }} diff --git a/gradle.properties b/gradle.properties index 440eb767c..4784b03d8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version=0.0.0 +version=0.0.0-SNAPSHOT artifact_group=appeng artifact_basename=appliedenergistics2-fabric