Skip to content

Commit

Permalink
chore: use environment secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
fospring committed May 27, 2024
1 parent 23582a4 commit b66dfeb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
jobs:
workflows_ubuntu:
runs-on: ubuntu-latest
environment:
name: production
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -21,7 +23,9 @@ jobs:
- name: Set master credentials
env:
TESTNET_MASTER_ACCOUNT_WALLET: ${{ secrets.TESTNET_MASTER_ACCOUNT_WALLET }}
run: echo "$TESTNET_MASTER_ACCOUNT_WALLET" > .near-credentials/workspaces/testnet/templateprojectmaster.testnet.json
# TESTNETMASTERACCOUNTWALLET: ${{ secrets.TESTNETMASTERACCOUNTWALLET }}
# run: echo "$TESTNET_MASTER_ACCOUNT_WALLET" > .near-credentials/workspaces/testnet/templateprojectmaster.testnet.json
run: echo "${#TESTNET_MASTER_ACCOUNT_WALLET}"
- name: Run ci tests
run: yarn testci
- name: Run near-cli tests
Expand Down

0 comments on commit b66dfeb

Please sign in to comment.