Skip to content

Commit

Permalink
Debugging STIP generation action to get it working (#9)
Browse files Browse the repository at this point in the history
* remove working directory.

* Remove extra tag.

* add missing "" to date command.

* () instead of {}

* add missing $s?

* add missing +

* add ETHNODURL env var.

---------

Co-authored-by: BIP Bot <[email protected]>
  • Loading branch information
Tritium-VLK and BIP Bot authored Jan 25, 2024
1 parent 3f285b9 commit 125016c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/run_payment_round.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ env:
jobs:
genPayload:
runs-on: ubuntu-latest
defaults:
run:
working-directory: tools/python
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -27,9 +24,11 @@ jobs:
python-version: 3.9

- name: Generate Payload and report
env:
ETHNODEURL: ${{ secrets.ETHNODEURL }}
run: |
DAY=${{ github.event.inputs.epoch_end_date }}
TIMESTAMP=${date -d $DAY 00:00:00}
TIMESTAMP=$(date -d "$DAY 00:00:00" +"%s")
echo "Running for $DAY $TIMESTAMP"
pip install -r requirements.txt
python3 main.py --ts_bound $TIMESTAMP
Expand Down

0 comments on commit 125016c

Please sign in to comment.