-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e06875
commit 5619124
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,8 @@ jobs: | |
body: ${{ steps.tag_version.outputs.changelog }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
update_mod_version_files: | ||
name: Update mod version files | ||
needs: [tag_and_release, tests] | ||
name: update mod version files | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
|
@@ -63,6 +64,10 @@ jobs: | |
run: | | ||
chmod +x ./update_version.sh | ||
./update_version.sh | ||
- name: Commit changes | ||
run: | | ||
git commit -m "update version to ${{ needs.tag_and_release.outputs.new_tag }}" | ||
git push origin main --force | ||
build_and_release_on_modrinth_and_curseforge: | ||
needs: [tag_and_release, tests] | ||
name: Build and release ${{ matrix.platform }} | ||
|
@@ -75,16 +80,14 @@ jobs: | |
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Gradle Build Action | ||
uses: gradle/[email protected] | ||
with: | ||
gradle-version: 7.5 | ||
|
||
- name: Build args | ||
id: build_args | ||
run: | ||
echo 'name=${{ needs.tag_and_release.outputs.new_tag }}-${{ env.slug }}[${{env.loader}}][${{ matrix.platform }}]' >> $GITHUB_OUTPUT | ||
echo 'name=ptdyeplus-${{ needs.tag_and_release.outputs.new_tag }}+${{env.loader}}-1.19.2' >> $GITHUB_OUTPUT | ||
- name: build | ||
run: | | ||
gradle wrapper | ||
|