Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
seymourimadeit authored Jan 31, 2025
1 parent c09fbf4 commit f645af9
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
- name: mc-publish
uses: Kir-Antipov/mc-publish@v3.3.0
with:
modrinth-id: H1sntfo8
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 360203
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
#modrinth-id: H1sntfo8
#modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
# curseforge-id: 360203
# curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
github-token: ${{ secrets.GIT_TOKEN }}
files-primary: build/libs/!(*-@(javadoc|sources)).jar
version-type: release
Expand All @@ -54,14 +54,12 @@ jobs:
with:
current-version: ${{ steps.version.outputs.value }}
version-fragment: 'hotfix'
- name: Write value to Properties-file
uses: anbazhagan45/update-property-value@1.0.1
- name: Replace single file
uses: richardrigutins/replace-in-files@v2
with:
source_path: 'gradle.properties'
properties: |
mod_version
values: |
${{ steps.bump_version.outputs.next-version }}
files: 'gradle.properties'
search-text: ${{ steps.version.outputs.value }}
replacement-text: ${{ steps.bump_version.outputs.next-version }}
- name: Commit & Push
uses: Andro999b/push@v1.3
with:
Expand Down

0 comments on commit f645af9

Please sign in to comment.