Skip to content

Commit

Permalink
get the right MC version in CI scripts
Browse files Browse the repository at this point in the history
and add runs/ dir to git ignore
  • Loading branch information
desht committed Nov 8, 2023
1 parent c086636 commit 8ef633b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Set up mod metadata
id: mod_meta
run: |
echo mc_version=$(grep ^mc_version ./gradle.properties | cut -d= -f2) >> $GITHUB_OUTPUT
echo mc_version=$(grep ^minecraft_version ./gradle.properties | cut -d= -f2) >> $GITHUB_OUTPUT
- name: Build JAR
uses: gradle/gradle-build-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: mod_meta
run: |
echo mod_version=$(grep ^mod_version ./gradle.properties | cut -d= -f2) >> $GITHUB_OUTPUT
echo mc_version=$(grep ^mc_version ./gradle.properties | cut -d= -f2) >> $GITHUB_OUTPUT
echo mc_version=$(grep ^minecraft_version ./gradle.properties | cut -d= -f2) >> $GITHUB_OUTPUT
- name: Publish to Modmaven
uses: gradle/gradle-build-action@v2
env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classes
eclipse
run
run-*
runs
conf
*.xcf
*.pl
Expand Down

0 comments on commit 8ef633b

Please sign in to comment.