Skip to content

Commit

Permalink
Store token before installing
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Oct 22, 2023
1 parent 47d9133 commit c400063
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Check for ROBLOSECURITY token
- name: Check for ROBLOSECURITY secret
shell: bash
run: ./.github/workflows/validate-secret.sh ROBLOSECURITY "${{ secrets.ROBLOSECURITY }}"

- name: Check for RBXID token
- name: Check for MULLVAD_ACCOUNT secret
shell: bash
run: ./.github/workflows/validate-secret.sh RBXID "${{ secrets.RBXID }}"
run: ./.github/workflows/validate-secret.sh MULLVAD_ACCOUNT "${{ secrets.MULLVAD_ACCOUNT }}"

- uses: Roblox/setup-foreman@v1
with:
Expand Down Expand Up @@ -164,18 +164,6 @@ jobs:
shell: bash
run: mullvad status -v

- uses: actions/checkout@v3
with:
repository: vocksel/roblox-win-installer
path: roblox-win-installer

- name: Install Roblox Studio
shell: bash
run: |
cd roblox-win-installer
pip install --requirement requirements.txt;
python install.py "${{ secrets.ROBLOSECURITY }}"
- name: List tokens
shell: bash
run: cmdkey /list:"LegacyGeneric:target=https://roblox.com:RobloxStudioAuth*"
Expand All @@ -188,6 +176,18 @@ jobs:
shell: bash
run: cmdkey /list:"LegacyGeneric:target=https://roblox.com:RobloxStudioAuth*"

- uses: actions/checkout@v3
with:
repository: vocksel/roblox-win-installer
path: roblox-win-installer

- name: Install Roblox Studio
shell: bash
run: |
cd roblox-win-installer
pip install --requirement requirements.txt;
python install.py "${{ secrets.ROBLOSECURITY }}"
- name: Run tests
run: run-in-roblox --place studio-tests.rbxl --script tests/init.server.lua

Expand Down

0 comments on commit c400063

Please sign in to comment.