ci: disable debugging

pull/88/head
CanadaHonk 2 years ago
parent d16475714d
commit a6bd6654c9

@ -158,76 +158,76 @@ jobs:
VERSION: 'nightly' VERSION: 'nightly'
FILES: app.asar FILES: app.asar
debug-linux: # debug-linux:
name: Debug Linux # name: Debug Linux
needs: build # needs: build
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- name: Retrieve artifact
uses: actions/download-artifact@v2
with:
name: built-asar
path: artifact
- name: Extract artifact # - name: Retrieve artifact
run: | # uses: actions/download-artifact@v2
cp artifact/app.asar . # with:
# name: built-asar
# path: artifact
- name: Download Client with OpenAsar # - name: Extract artifact
run: | # run: |
wget "https://discord.com/api/download/canary?platform=linux&format=tar.gz" -O discord.tar.gz # cp artifact/app.asar .
tar xf discord.tar.gz
cp app.asar DiscordCanary/resources/app.asar
- name: Run Client # - name: Download Client with OpenAsar
run: | # run: |
xvfb-run -e /dev/stdout ./DiscordCanary/DiscordCanary --enable-logging 2>&1 # wget "https://discord.com/api/download/canary?platform=linux&format=tar.gz" -O discord.tar.gz
timeout-minutes: 5 # tar xf discord.tar.gz
# cp app.asar DiscordCanary/resources/app.asar
debug-win: # - name: Run Client
name: Debug Windows # run: |
# xvfb-run -e /dev/stdout ./DiscordCanary/DiscordCanary --enable-logging 2>&1
# timeout-minutes: 5
needs: build # debug-win:
runs-on: windows-latest # name: Debug Windows
steps: # needs: build
- uses: actions/checkout@v2 # runs-on: windows-latest
- name: Setup Node.js v16.x # steps:
uses: actions/setup-node@v2 # - uses: actions/checkout@v2
with:
node-version: 16.x
- name: Retrieve artifact # - name: Setup Node.js v16.x
uses: actions/download-artifact@v2 # uses: actions/setup-node@v2
with: # with:
name: built-asar # node-version: 16.x
path: artifact
- name: Extract artifact
run: |
cp artifact/app.asar .
- name: Setup Client
shell: bash
run: |
node scripts/downloadWin.js
tar xf client.tar
# Install OpenAsar build and setup environment
cp -f app.asar files/resources/app.asar
mkdir discord
cp -rf files/ discord/app-1.0.0
cd discord/app-1.0.0
mkdir modules
- name: Run Client # - name: Retrieve artifact
run: | # uses: actions/download-artifact@v2
cd discord/app-1.0.0 # with:
./DiscordCanary.exe --enable-logging # name: built-asar
timeout-minutes: 5 # path: artifact
shell: bash
# - name: Extract artifact
# run: |
# cp artifact/app.asar .
# - name: Setup Client
# shell: bash
# run: |
# node scripts/downloadWin.js
# tar xf client.tar
# # Install OpenAsar build and setup environment
# cp -f app.asar files/resources/app.asar
# mkdir discord
# cp -rf files/ discord/app-1.0.0
# cd discord/app-1.0.0
# mkdir modules
# - name: Run Client
# run: |
# cd discord/app-1.0.0
# ./DiscordCanary.exe --enable-logging
# timeout-minutes: 5
# shell: bash

Loading…
Cancel
Save