Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
x87 committed Apr 7, 2024
1 parent a77d3d4 commit 76d9ef7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -89,23 +92,31 @@ 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
uses: ThirteenAG/zip-release@master
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
uses: ThirteenAG/zip-release@master
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
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" });
Expand Down

0 comments on commit 76d9ef7

Please sign in to comment.