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 d6f0dd6 commit a77d3d4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ jobs:
@REM download Sanny Builder Library json
curl https://raw.githubusercontent.com/sannybuilder/library/master/sa/sa.json -o .output\Release\cleo\.config\sa.json
- name: Convert Markdown to HTML
id: md_to_html
run: |
npm install showdown
node.exe .github/workflows/markdown.js
move README.html .output\Release\cleo_readme\README.html
move CHANGELOG.html .output\Release\cleo_readme\CHANGELOG.html
- name: Download ASI Loaders
id: download_asi_loaders
shell: cmd
run: |
xcopy /E /I .output\Release .output\Release_with_Silent_ASI_Loader
xcopy /E /I .output\Release .output\Release_with_Ultimate_ASI_Loader
Expand All @@ -68,16 +80,9 @@ jobs:
rmdir /s /q .output\Release_with_Silent_ASI_Loader\scripts
@REM install Ultimate ASI Loader
curl https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/download/Win32-latest/vorbisFile-Win32.zip -o ual.zip
curl https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/download/Win32-latest/vorbisFile-Win32.zip -L -o ual.zip
powershell.exe -NoP -NonI -Command "Expand-Archive '.\ual.zip' '.\.output\Release_with_Ultimate_ASI_Loader'"
- name: Convert Markdown to HTML
id: md_to_html
run: |
npm install showdown
node.exe .github/workflows/markdown.js
move README.html .output\Release\cleo_readme\README.html
move CHANGELOG.html .output\Release\cleo_readme\CHANGELOG.html
rm .\.output\Release_with_Ultimate_ASI_Loader\vorbisFile-Win32.SHA512
- name: Pack Base Archive
uses: ThirteenAG/zip-release@master
Expand Down Expand Up @@ -110,5 +115,5 @@ jobs:
name: ${{ steps.read_version.outputs.version }}
bodyFile: 'changes.txt' # generated in read_version
tag: 'v5.0.0-alpha.54'
prerelease: ${{ contains(github.ref_name, 'beta') || contains(github.ref_name, 'alpha') }}
prerelease: true
artifacts: "SA.CLEO_*.zip"
2 changes: 1 addition & 1 deletion .github/workflows/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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", `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`);
Expand Down

0 comments on commit a77d3d4

Please sign in to comment.