Disable unreachable endpoints (#9028)

* Disable unreachable endpoints

* Re-fix GH workflow padding
This commit is contained in:
Jaco 2023-02-15 14:34:53 +02:00 committed by GitHub
parent 69f4b2c441
commit eaa6c11913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 32 deletions

View File

@ -61,37 +61,37 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} name: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT_BOT }}
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 'lts/*' node-version: 'lts/*'
with: - name: Prepare for app notarization (macOS)
token: ${{ secrets.GH_PAT_BOT }} if: startsWith(matrix.os, 'macos')
- name: Prepare for app notarization (macOS) # Import Apple API key for app notarization on macOS
if: startsWith(matrix.os, 'macos') run: |
# Import Apple API key for app notarization on macOS mkdir -p ~/private_keys/
run: | echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8
mkdir -p ~/private_keys/ - name: Build/release Electron app
echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8 uses: samuelmeuli/action-electron-builder@v1
- name: Build/release Electron app with:
uses: samuelmeuli/action-electron-builder@v1 # Base64-encoded code signing certificate for macOS
with: mac_certs: ${{ secrets.MAC_CERTS }}
# Base64-encoded code signing certificate for macOS # Password for decrypting `mac_certs`
mac_certs: ${{ secrets.MAC_CERTS }} mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }}
# Password for decrypting `mac_certs` # Base64-encoded code signing certificate for Windows
mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }} windows_certs: ${{ secrets.WINDOWS_CERTS }}
# Base64-encoded code signing certificate for Windows # Password for decrypting `windows_certs`
windows_certs: ${{ secrets.WINDOWS_CERTS }} windows_certs_password: ${{ secrets.WINDOWS_CERTS_PASSWORD }}
# Password for decrypting `windows_certs` # GitHub token, automatically provided to the action
windows_certs_password: ${{ secrets.WINDOWS_CERTS_PASSWORD }} # (No need to define this secret in the repo settings)
# GitHub token, automatically provided to the action github_token: ${{ secrets.GITHUB_TOKEN }}
# (No need to define this secret in the repo settings) build_script_name: build:release:electron
github_token: ${{ secrets.GITHUB_TOKEN }} # If the commit is tagged with a version (e.g. "v1.0.0"),
build_script_name: build:release:electron # release the app after building
# If the commit is tagged with a version (e.g. "v1.0.0"), release: ${{ startsWith(github.ref, 'refs/tags/v') }}
# release the app after building env:
release: ${{ startsWith(github.ref, 'refs/tags/v') }} # macOS notarization API key
env: API_KEY_ID: ${{ secrets.API_KEY_ID }}
# macOS notarization API key API_KEY_ISSUER_ID: ${{ secrets.API_KEY_ISSUER_ID }}
API_KEY_ID: ${{ secrets.API_KEY_ID }}
API_KEY_ISSUER_ID: ${{ secrets.API_KEY_ISSUER_ID }}

View File

@ -135,7 +135,7 @@ export const testParasRococo: EndpointOption[] = [
info: 'rococoCrust', info: 'rococoCrust',
paraId: 2012, paraId: 2012,
providers: { providers: {
Crust: 'wss://rococo-csm.crustcode.com/' // Crust: 'wss://rococo-csm.crustcode.com/' // https://github.com/polkadot-js/apps/issues/9025
}, },
text: 'Crust Testnet', text: 'Crust Testnet',
ui: { ui: {