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 39fb181
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
workflows_ubuntu:
environment: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -21,13 +22,15 @@ 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
# run: echo "$TESTNET_MASTER_ACCOUNT_WALLET" > .near-credentials/workspaces/testnet/templateprojectmaster.testnet.json
run: cat "$TESTNET_MASTER_ACCOUNT_WALLET"
- name: Run ci tests
run: yarn testci
- name: Run near-cli tests
run: yarn run test:clidevdeploy

workflows_macos:
environment: CI
needs: workflows_ubuntu
runs-on: macos-latest
steps:
Expand Down

0 comments on commit 39fb181

Please sign in to comment.