Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix debugmode being set off for versioned build files #1816

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,39 +52,39 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set DebugMode off
run: sed -i "s/DebugMode = true/DebugMode = false/g" Loader/Loader/Loader.server.luau

- name: Set NightlyMode off
run: sed -i "s/NightlyMode = true/NightlyMode = false/g" Loader/Loader/Loader.server.luau

- name: Build Standalone
run: rojo build -o ${{ steps.naming.outputs.output_name }}.rbxm .github/build.project.json

- uses: actions/[email protected]
with:
name: ${{ steps.naming.outputs.output_name }}
path: ${{ steps.naming.outputs.output_name }}.rbxm

- name: Build Loader
run: rojo build -o loader.rbxm .github/loader.deploy.project.json

- name: Build MainModule
run: rojo build -o module.rbxm .github/module.deploy.project.json

- name: Send Standalone Release to Discord channel
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.RELEASE_WEBHOOK }}
filename: ${{ steps.naming.outputs.output_name }}.rbxm

- name: Set DebugMode off
run: sed -i "s/DebugMode = true/DebugMode = false/g" Loader/Loader/Loader.server.luau

- name: Build Loader
run: rojo build -o Adonis_Loader.rbxm .github/loader.deploy.project.json

- name: Build MainModule
run: rojo build -o Adonis_MainModule.rbxm .github/module.deploy.project.json

- name: Publish Loader
uses: fjogeleit/[email protected]
with:
url: "${{ secrets.PUBURL2 }}/?assetId=${{ secrets.LOADER_ID }}"
method: "POST"
contentType: "multipart/form-data"
files: '{ "file": "loader.rbxm" }'
files: '{ "file": "Adonis_Loader.rbxm" }'
customHeaders: '{ "upload-secret": "${{ secrets.PUBURL2_SECRET }}" }'
timeout: 10000

Expand All @@ -94,6 +94,6 @@ jobs:
url: "${{ secrets.PUBURL2 }}/?assetId=${{ secrets.MODULE_ID }}"
method: "POST"
contentType: "multipart/form-data"
files: '{ "file": "module.rbxm" }'
files: '{ "file": "Adonis_MainModule.rbxm" }'
customHeaders: '{ "upload-secret": "${{ secrets.PUBURL2_SECRET }}" }'
timeout: 10000
Loading