Skip to content

Commit

Permalink
move props action above setup java as workaround, fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
thiakil committed Jul 14, 2023
1 parent 8de6fac commit 93145a2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
token: ${{github.token}}
#verify ensures that it's reachable on the current branch
verify: true
- uses: madhead/read-java-properties@latest
id: version
with:
file: ${{ github.workspace }}/gradle.properties
all: true

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand All @@ -46,20 +52,14 @@ jobs:
uses: actions/upload-artifact@v3
with:
path: |
${{ github.workspace }}build/libs/
${{ github.workspace }}build/changelog.html
- uses: madhead/read-java-properties@latest
id: version
with:
file: gradle.properties
all: true
${{ github.workspace }}/build/libs/
${{ github.workspace }}/build/changelog.html
- name: GH Release
uses: softprops/action-gh-release@v1
with:
files: ${{ github.workspace }}build/libs/*.jar
body_path: ${{ github.workspace }}build/changelog.html
files: ${{ github.workspace }}/build/libs/*.jar
body_path: ${{ github.workspace }}/build/changelog.html
tag_name: v${{ steps.all.outputs.minecraft_version }}-${{ steps.all.outputs.mod_version }}.${{ github.run_id }}

# - name: Publish
Expand Down

0 comments on commit 93145a2

Please sign in to comment.