Skip to content

Commit

Permalink
dev: commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperalani committed Jan 9, 2024
1 parent 6e06875 commit 5619124
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 5619124

Please sign in to comment.