Skip to content

Commit

Permalink
JE-1.21/1.21.1-6.0.0-Skyblock_Classic_Edition:NIGHTLY_BUILDING_20.01.…
Browse files Browse the repository at this point in the history
…2025.31759a_[CItest]
  • Loading branch information
Loweredgames committed Jan 20, 2025
1 parent 21437d5 commit 2001823
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,18 @@ jobs:
shell: bash
run: |
FILE="datapacks/Skyblock CE datapacks/data/skyblock/function/versions/changelog/building_version.json"
if git diff HEAD^ HEAD -- "$FILE" | grep -q "Release Building"; then
OLD_RELEASE=$(git show HEAD^:"$FILE" | grep "Release Building" || echo "")
NEW_RELEASE=$(git show HEAD:"$FILE" | grep "Release Building" || echo "")
OLD_NIGHTLY=$(git show HEAD^:"$FILE" | grep "Nightly Building" || echo "")
NEW_NIGHTLY=$(git show HEAD:"$FILE" | grep "Nightly Building" || echo "")
if [ "$OLD_RELEASE" != "$NEW_RELEASE" ]; then
echo "release_changed=true" >> "$GITHUB_OUTPUT"
else
echo "release_changed=false" >> "$GITHUB_OUTPUT"
fi
if git diff HEAD^ HEAD -- "$FILE" | grep -q "Nightly Building"; then
if [ "$OLD_NIGHTLY" != "$NEW_NIGHTLY" ]; then
echo "nightly_changed=true" >> "$GITHUB_OUTPUT"
else
echo "nightly_changed=false" >> "$GITHUB_OUTPUT"
Expand All @@ -43,12 +49,11 @@ jobs:
with:
name: Skyblock_CE_Latest
path: |
datapacks/**/*
!.git/**
!.github/**
.
!.git/
!.github/
!.gitignore
!.worlds/**
!Resources Pack/**
!Resources Pack/
!crowdin.yml
!spyglass.json
!*.zip
Expand All @@ -67,12 +72,11 @@ jobs:
with:
name: Skyblock_CE_Nightly_Snapshots
path: |
datapacks/**/*
!.git/**
!.github/**
.
!.git/
!.github/
!.gitignore
!.worlds/**
!Resources Pack/**
!Resources Pack/
!crowdin.yml
!spyglass.json
!*.zip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

"Release Building": "JE-1.21/1.21.1-6.0.0-Skyblock_Classic_Edition:11testCI",

"Nightly Building": "JE-1.21/1.21.1-6.0.0-Skyblock_Classic_Edition:NIGHTLY_BUILDING_20.01.2025.21759a_[CItest]",
"Nightly Building": "JE-1.21/1.21.1-6.0.0-Skyblock_Classic_Edition:NIGHTLY_BUILDING_20.01.2025.31759a_[CItest]",

"Data_pack": "TRUE",

Expand Down

0 comments on commit 2001823

Please sign in to comment.