mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-25 12:25:15 +01:00
Fix test environment variable issues
This commit is contained in:
parent
f56d8c76e7
commit
d876fd563d
1
.github/workflows/build.yaml
vendored
1
.github/workflows/build.yaml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
env:
|
||||
DISCORDSRV_AUTOTEST_BOT_TOKEN: ${{ secrets.DISCORDSRV_AUTOTEST_BOT_TOKEN }}
|
||||
DISCORDSRV_AUTOTEST_CHANNEL_ID: ${{ secrets.DISCORDSRV_AUTOTEST_CHANNEL_ID }}
|
||||
DISCORDSRV_AUTOTEST_FORUM_ID: ${{ secrets.DISCORDSRV_AUTOTEST_FORUM_ID }}
|
||||
- name: Upload Build Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
@ -237,7 +237,7 @@ public class MockDiscordSRV extends AbstractDiscordSRV<IBootstrap, MainConfig, C
|
||||
}
|
||||
};
|
||||
|
||||
if (StringUtils.isNotEmpty(FullBootExtension.TEST_CHANNEL_ID)) {
|
||||
if (StringUtils.isNotEmpty(FullBootExtension.TEST_CHANNEL_ID) && StringUtils.isNotEmpty(FullBootExtension.FORUM_CHANNEL_ID)) {
|
||||
ChannelConfig global = (ChannelConfig) config.channels.get(GameChannel.DEFAULT_NAME);
|
||||
DestinationConfig destination = global.destination = new DestinationConfig();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user