From 3c68b06fd46eef524d9a41b00e18f4a94ce339ca Mon Sep 17 00:00:00 2001 From: Septs Date: Tue, 21 Jul 2020 01:58:59 +0800 Subject: [PATCH] Regular update: 2020-07-20T17:58:59Z --- .github/workflows/roa.yml | 6 ++---- .github/workflows/test-your-pr.yml | 14 ++++++-------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/roa.yml b/.github/workflows/roa.yml index bb4f45f..28a1773 100644 --- a/.github/workflows/roa.yml +++ b/.github/workflows/roa.yml @@ -26,10 +26,8 @@ jobs: python-version: "3.x" architecture: "x64" - - name: Run ROA script - run: .scripts/generate-roa.sh + - run: .scripts/generate-roa.sh - - name: Push to NeoCloud/NeoNetwork-ROA - run: .scripts/push-to-roa.sh + - run: .scripts/push-to-roa.sh env: SSHPRIVKEY: ${{ secrets.KEY }} diff --git a/.github/workflows/test-your-pr.yml b/.github/workflows/test-your-pr.yml index 36302cc..9160de6 100644 --- a/.github/workflows/test-your-pr.yml +++ b/.github/workflows/test-your-pr.yml @@ -14,13 +14,11 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - - name: Install dependencies - run: | - sudo apt-get update -qq - sudo apt-get install -y python3 python3-venv + - uses: actions/setup-python@v2 + with: + python-version: "3.x" + architecture: "x64" - - name: Run ROA script - run: .scripts/generate-roa.sh + - run: .scripts/generate-roa.sh - - name: Preview - run: cat generated/README.txt + - run: cat generated/README.txt