Skip to content

Commit

Permalink
JE-1.21/1.21.1-6.0.0-Skyblock_Classic_Edition:9testCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Loweredgames committed Jan 15, 2025
1 parent e27f3a6 commit f6f37a3
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
File renamed without changes.
50 changes: 50 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Create Release Build

on:
push:
paths:
- 'datapacks/Skyblock CE datapacks/data/skyblock/function/versions/changelog/building_version.json'

jobs:
check_changes:
runs-on: ubuntu-24.04
outputs:
should_build: ${{ steps.check.outputs.changed }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Check if Release Building changed
id: check
shell: bash
run: |
if git diff HEAD^ HEAD -- "datapacks/Skyblock CE datapacks/data/skyblock/function/versions/changelog/building_version.json" | grep -q '"Release Building"'; then
echo "changed=true" >> $GITHUB_OUTPUT
else
echo "changed=false" >> $GITHUB_OUTPUT
fi
build:
needs: check_changes
if: needs.check_changes.outputs.should_build == 'true'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Upload folder content as artifact
uses: actions/upload-artifact@v4
with:
name: Skyblock_CE_Latest
path: |
**/*
!.git/**
!.github/**
!.gitignore
!.worlds/**
!Resources Pack/**
!crowdin.yml
!spyglass.json
!*.zip
!.DS_Store
if-no-files-found: error
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

"Release Versions": "6.0.0 [The Removal Update]",

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

"Data_pack": "TRUE",

Expand Down

0 comments on commit f6f37a3

Please sign in to comment.