Remove vcpkg.json.backup and streamline CI/CD workflow
- Deleted the vcpkg.json.backup file to eliminate redundancy in project configuration. - Updated the CI/CD workflow to simplify the fallback mechanism for dependency installation on Windows, ensuring a more efficient build process.
This commit is contained in:
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@@ -265,20 +265,7 @@ jobs:
|
||||
VCPKG_FORCE_SYSTEM_BINARIES: 1
|
||||
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
|
||||
|
||||
# Fallback to newer baseline if primary vcpkg fails
|
||||
- name: Set up vcpkg (Fallback)
|
||||
if: runner.os == 'Windows' && steps.vcpkg_setup.outcome == 'failure'
|
||||
uses: lukka/run-vcpkg@v11
|
||||
with:
|
||||
vcpkgGitCommitId: '2024.01.12'
|
||||
runVcpkgInstall: true
|
||||
vcpkgJsonGlob: '**/vcpkg.json.backup'
|
||||
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
|
||||
env:
|
||||
VCPKG_FORCE_SYSTEM_BINARIES: 1
|
||||
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
|
||||
|
||||
# Install dependencies manually if vcpkg fails completely
|
||||
# Install dependencies manually if vcpkg fails
|
||||
- name: Install dependencies manually (Windows)
|
||||
if: runner.os == 'Windows' && steps.vcpkg_setup.outcome == 'failure'
|
||||
shell: pwsh
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
"name": "yaze",
|
||||
"version": "0.3.1",
|
||||
"description": "Yet Another Zelda3 Editor",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "zlib",
|
||||
"platform": "!uwp"
|
||||
},
|
||||
{
|
||||
"name": "libpng",
|
||||
"platform": "!uwp"
|
||||
},
|
||||
{
|
||||
"name": "sdl2",
|
||||
"platform": "!uwp",
|
||||
"features": ["vulkan"]
|
||||
},
|
||||
{
|
||||
"name": "abseil",
|
||||
"platform": "!uwp"
|
||||
}
|
||||
],
|
||||
"builtin-baseline": "2024.01.12",
|
||||
"overrides": [
|
||||
{
|
||||
"name": "abseil",
|
||||
"version": "20240116.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user