diff --git a/.github/workflows/nightly-publish.yml b/.github/workflows/nightly-publish.yml index 3500494..cca344a 100644 --- a/.github/workflows/nightly-publish.yml +++ b/.github/workflows/nightly-publish.yml @@ -14,6 +14,11 @@ jobs: packages: write steps: - uses: actions/checkout@v4 + - uses: BrycensRanch/read-properties-action@v1 + id: all + with: + file: gradle.properties + all: true - uses: actions/setup-java@v3 with: java-version: '11' @@ -23,6 +28,6 @@ jobs: - name: Publish package uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 with: - arguments: publish -Pversion=${{ github.sha }}-SNAPSHOT + arguments: publish -Pversion=${{ steps.all.outputs.version }}-SNAPSHOT env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/gradle.properties b/gradle.properties index 6689ede..c149a12 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ POM_NAME=ElliotEngine POM_PACKAGING=aar GROUP=dev.elliotjarnit -VERSION=ALPHA-0.0.1 +VERSION=0.0.1 POM_DESCRIPTION=A fully from-scratch 3D Game Engine written in Java using only built-in language features \ No newline at end of file