Skip to content

Commit

Permalink
Fix workflow publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmelon54 committed Dec 8, 2024
1 parent 42750c6 commit af8332a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
name: "buildAllJars-${{matrix.mc}}"
path: buildAllJars/*.jar
if-no-files-found: error
- name: Publish Release
if: startsWith(github.ref, 'refs/tags/v')
run: MAVEN_PASS="${{ secrets.MAVEN_PASS }}" MAVEN_TYPE=production ./gradlew publish -PmcVer="${{ matrix.mc }}" --no-daemon
- name: Publish Snapshot
run: MAVEN_PASS="${{ secrets.MAVEN_PASS }}" ./gradlew publish -PmcVer="${{ matrix.mc }}" --no-daemon

deploy:
needs: build
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx4096M
archives_base_name=infrastructury-tiny
mod_id=infrastructury-tiny
mod_name=Infrastructury Tiny
mod_version=0.1.8-tiny
mod_version=0.2.1-tiny
mod_description=Cross-version modding API
maven_group=com.mrmelon54.infrastructury-tiny
# Plugin versions
Expand Down

0 comments on commit af8332a

Please sign in to comment.