Skip to content

Commit

Permalink
Update manual.yml
Browse files Browse the repository at this point in the history
Add release builds maybe.

skip ci
  • Loading branch information
Psycast authored Feb 4, 2024
1 parent 79ecc57 commit 83c1db8
Showing 1 changed file with 36 additions and 5 deletions.
41 changes: 36 additions & 5 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/[email protected]
with:
repository: flashflashrevolution/rCubed-build-tools
path: 'tools'
path: "tools"
lfs: true

- name: Extract Air SDK [32.0]
Expand Down Expand Up @@ -84,6 +84,26 @@ jobs:
shell: cmd
run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.hybrid.json --verbose

##########################################################################################
# Package Versions
- name: Rename Release Folder (64-bit)
run: Rename-Item -Path "${{ github.workspace }}\bundles\64bit" -NewName "rCubed.${{ inputs.version }}.64"

- name: Rename Release Folder (32-bit)
run: Rename-Item -Path "${{ github.workspace }}\bundles\32bit" -NewName "rCubed.${{ inputs.version }}.32"

- name: Rename Release Folder (Hybrid)
run: Rename-Item -Path "${{ github.workspace }}\bundles\Hybrid" -NewName "rCubed.0.0.8+${{ inputs.version }}.Hybrid"

- name: Package Build in Zip (64-bit)
run: 7z.exe a -tzip -mx=9 ${{ github.workspace }}\bundles\64bit.zip ${{ github.workspace }}\bundles\rCubed.${{ inputs.version }}.64

- name: Package Build in Zip (32-bit)
run: 7z.exe a -tzip -mx=9 ${{ github.workspace }}\bundles\32bit.zip ${{ github.workspace }}\bundles\rCubed.${{ inputs.version }}.32

- name: Package Build in Zip (32-bit)
run: 7z.exe a -tzip -mx=9 ${{ github.workspace }}\bundles\Hybrid.zip ${{ github.workspace }}\bundles\rCubed.0.0.8+${{ inputs.version }}.Hybrid

##########################################################################################
- name: Create Release
id: create_release
Expand All @@ -103,8 +123,19 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/Runtimes.zip
asset_name: Runtimes.zip
asset_path: ${{ github.workspace }}\bundles\64bit.zip
asset_name: rCubed-${{ inputs.version }}-64bit.zip
asset_content_type: application/executable

- name: Upload ZIP (32-bit)
id: upload-zip-release-32
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}\bundles\32bit.zip
asset_name: rCubed-${{ inputs.version }}-32bit.zip
asset_content_type: application/executable

- name: Upload ZIP (Hybrid)
Expand All @@ -114,6 +145,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/SDK-Lite.zip
asset_name: SDK-Lite.zip
asset_path: ${{ github.workspace }}\bundles\Hybrid.zip
asset_name: rCubed-0.0.8-${{ inputs.version }}-Hybrid-32bit.zip
asset_content_type: application/executable

0 comments on commit 83c1db8

Please sign in to comment.