Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
opekope2 committed Dec 1, 2024
1 parent 5afc6b0 commit 4545751
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
file: gradle/libs.versions.toml
field: versions.minecraft
- name: Ensure git tag and mod version match
if: forge/${{ steps.read-mod-version.outputs.value }} != github.ref_name
if: format('forge/{0}', steps.read-mod-version.outputs.value) != github.ref_name
run: |
echo "git tag '$GITHUB_REF_NAME' doesn't match mod version '${{ steps.read-mod-version.outputs.value }}'"
exit 1
Expand Down Expand Up @@ -106,17 +106,6 @@ jobs:
with:
fetch-depth: 0
ref: docs
- name: Read mod version
id: read-mod-version
uses: SebRollen/[email protected]
with:
file: gradle/libs.versions.toml
field: versions.staff-mod
- name: Ensure git tag and mod version match
if: forge/${{ steps.read-mod-version.outputs.value }} != github.ref_name
run: |
echo "git tag '$GITHUB_REF_NAME' doesn't match mod version '${{ steps.read-mod-version.outputs.value }}'"
exit 1
- name: Configure git
run: |
git config user.email "[email protected]"
Expand Down

0 comments on commit 4545751

Please sign in to comment.