Try to fix release generation again

This commit is contained in:
UnknownShadow200 2024-05-03 07:40:53 +10:00
parent 6a227dd565
commit 3db7987018
2 changed files with 10 additions and 10 deletions

View File

@ -68,9 +68,9 @@ jobs:
zip $1.zip MCGalaxy.exe sqlite3_x32.dll sqlite3_x64.dll zip $1.zip MCGalaxy.exe sqlite3_x32.dll sqlite3_x64.dll
} }
make_dotnet_zip net20 make_dotnet_zip mcg-net20
make_dotnet_zip net40 make_dotnet_zip mcg-net40
make_dotnet_zip infid make_dotnet_zip mcg-infid
mv MCGalaxy mcg_source mv MCGalaxy mcg_source
make_standalone_zip mcg-win64 make_standalone_zip mcg-win64
@ -91,19 +91,19 @@ jobs:
- uses: ./.github/actions/upload_build - uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }} if: ${{ always() && steps.compile.outcome == 'success' }}
with: with:
SOURCE_FILE: 'net20.zip' SOURCE_FILE: 'mcg-net20.zip'
DEST_NAME: 'mcg-net20.zip' DEST_NAME: 'mcg-net20.zip'
- uses: ./.github/actions/upload_build - uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }} if: ${{ always() && steps.compile.outcome == 'success' }}
with: with:
SOURCE_FILE: 'net40.zip' SOURCE_FILE: 'mcg-net40.zip'
DEST_NAME: 'mcg-net40.zip' DEST_NAME: 'mcg-net40.zip'
- uses: ./.github/actions/upload_build - uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }} if: ${{ always() && steps.compile.outcome == 'success' }}
with: with:
SOURCE_FILE: 'infid.zip' SOURCE_FILE: 'mcg-infid.zip'
DEST_NAME: 'mcg-infid.zip' DEST_NAME: 'mcg-infid.zip'

View File

@ -32,15 +32,15 @@ namespace MCGalaxy
const string CurrentVersionURL = BaseURL + "Uploads/current_version.txt"; const string CurrentVersionURL = BaseURL + "Uploads/current_version.txt";
const string changelogURL = BaseURL + "Changelog.txt"; const string changelogURL = BaseURL + "Changelog.txt";
const string CRN_URL = "https://cs.classicube.net/c_client/mcg/release/"; const string CDN_URL = "https://cs.classicube.net/c_client/mcg/release/";
#if NET_20 #if NET_20
const string CDN_BASE = CRN_URL + "net20/"; const string CDN_BASE = CDN_URL + "net20/";
#else #else
const string CDN_BASE = CRN_URL + "net40/"; const string CDN_BASE = CDN_URL + "net40/";
#endif #endif
#if MCG_STANDALONE #if MCG_STANDALONE
static string DLL_URL = CRN_URL + IOperatingSystem.DetectOS().StandaloneName; static string DLL_URL = CDN_URL + IOperatingSystem.DetectOS().StandaloneName;
#elif TEN_BIT_BLOCKS #elif TEN_BIT_BLOCKS
const string DLL_URL = CDN_BASE + "MCGalaxy_infid.dll"; const string DLL_URL = CDN_BASE + "MCGalaxy_infid.dll";
#else #else