From 76d9ef7224246dc2c8feca01e9e0af522817752b Mon Sep 17 00:00:00 2001 From: Seemann Date: Sun, 7 Apr 2024 15:31:23 -0400 Subject: [PATCH] upd --- .github/workflows/main.yml | 17 ++++++++++++++--- .github/workflows/version.js | 4 ---- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd5c480b..4e501497 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,6 +53,9 @@ jobs: copy cleo_plugins\.output\*.ini .output\Release\cleo\cleo_plugins copy cleo_plugins\Audio\bass\bass.dll .output\Release\bass.dll xcopy /E /I tests .output\Release\cleo + + @REM copy SDK + copy .output\Release\CLEO.lib cleo_sdk\CLEO.lib @REM download Sanny Builder Library json curl https://raw.githubusercontent.com/sannybuilder/library/master/sa/sa.json -o .output\Release\cleo\.config\sa.json @@ -89,7 +92,7 @@ jobs: with: path: ./.output/Release/* type: "zip" - filename: ${{ steps.read_version.outputs['base'] }} + filename: SA.CLEO_${{ github.ref_name }}_no_ASI_Loader.zip exclusions: "*.pdb *.lib *.exp" - name: Pack Base + Silent's ASI Loader @@ -97,7 +100,7 @@ jobs: with: path: ./.output/Release_with_Silent_ASI_Loader/* type: "zip" - filename: ${{ steps.read_version.outputs['base+silent_asi_loader'] }} + filename: SA.CLEO_${{ github.ref_name }}+Silent_ASI_Loader.zip exclusions: "*.pdb *.lib *.exp" - name: Pack Base + UAL @@ -105,7 +108,15 @@ jobs: with: path: ./.output/Release_with_Ultimate_ASI_Loader/* type: "zip" - filename: ${{ steps.read_version.outputs['base+ultimate_asi_loader'] }} + filename: SA.CLEO_${{ github.ref_name }}+Ultimate_ASI_Loader.zip + exclusions: "*.pdb *.lib *.exp" + + - name: CLEO SDK + uses: ThirteenAG/zip-release@master + with: + path: ./cleo_sdk/* + type: "zip" + filename: SA.CLEO_${{ github.ref_name }}+SDK.zip exclusions: "*.pdb *.lib *.exp" - name: Upload Release diff --git a/.github/workflows/version.js b/.github/workflows/version.js index 0aed7db5..a6b6d350 100644 --- a/.github/workflows/version.js +++ b/.github/workflows/version.js @@ -7,10 +7,6 @@ const GITHUB_REF_NAME = "v5.0.0-alpha.54"; if (GITHUB_REF_NAME) { const version = GITHUB_REF_NAME.startsWith("v") ? GITHUB_REF_NAME.slice(1) : GITHUB_REF_NAME; addOutput("version", version); - addOutput("base", `SA.CLEO_${GITHUB_REF_NAME}_no_ASI_Loader.zip`); - addOutput("base+silent_asi_loader", `SA.CLEO_${GITHUB_REF_NAME}+Silent_ASI_Loader.zip`); - addOutput("base+ultimate_asi_loader", `SA.CLEO_${GITHUB_REF_NAME}+Ultimate_ASI_Loader.zip`); - addOutput("sdk", `SA.CLEO_${GITHUB_REF_NAME}_SDK.zip`); // update cleo.h to replace version const cleoH = readFileSync("cleo_sdk/cleo.h", { encoding: "utf-8" });