Skip to content

Commit ede085c

Browse files
authored
Fix action uid (#18)
1 parent 7fd9510 commit ede085c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/unittest.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ jobs:
2323
- name: Setup docker compose
2424
working-directory: trinity-${{ github.run_id }}/.github/workflows/docker
2525
run: |
26-
export UID=$(id -u)
27-
export GID=$(id -g)
2826
docker compose up -d
2927
sleep 5s
3028

trinity/common/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def index(self) -> int:
175175
@property
176176
def epoch(self) -> int:
177177
"""Get the current epoch."""
178-
return self._index
178+
return self._epoch
179179

180180
def __next__(self) -> Task:
181181
"""Iterate through the tasks in the taskset."""

0 commit comments

Comments
 (0)