Skip to content

Commit

Permalink
Merge pull request #9 from xzfg-n15421/legacy
Browse files Browse the repository at this point in the history
Update default version of LeviLamina&&Refactor Get_BDS_Version
  • Loading branch information
FTS427 authored Aug 20, 2024
2 parents 6332da6 + ab1343b commit f3e1837
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
LL_VER:
description: 'LeviLamina version'
required: true
default: '0.13.4'
default: '0.13.5'
LSE:
description: 'If include LSE'
required: false
Expand Down Expand Up @@ -40,7 +40,6 @@ jobs:
Invoke-WebRequest -Uri https://github.com/futrime/lip/releases/latest/download/lip-windows-amd64.zip -Outfile .\scripts\lip.zip
Invoke-WebRequest -Uri https://www.7-zip.org/a/7z2401-x64.exe -Outfile .\scripts\7z_installer.exe
.\scripts\7z_installer.exe
Invoke-WebRequest -Uri https://github.com/jqlang/jq/releases/latest/download/jq-windows-amd64.exe -Outfile .\scripts\jq.exe
unzip .\scripts\lip.zip -d .\scripts\
"$env:GITHUB_WORKSPACE\scripts" | Out-File -FilePath $env:GITHUB_PATH -Append
Expand Down Expand Up @@ -73,7 +72,8 @@ jobs:
id: get_bds_core_version
working-directory: ll
run: |
"bds_core_version=$(jq -r ".version" ".\.lip\metadata\github.com%2FLiteLDev%2Fbds.json")" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
$res = Get-content -Raw -Path "./.lip/metadata/github.com%2FLiteLDev%2Fbds.json" |ConvertFrom-Json
"bds_core_version=$($res.version)" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
rm .\behavior_packs -Force -Recurse
rm .\definitions -Force -Recurse
rm .\resource_packs -Force -Recurse
Expand Down

0 comments on commit f3e1837

Please sign in to comment.