Skip to content

Commit bb3d823

Browse files
committed
Update tests workflow
1 parent 54af351 commit bb3d823

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ jobs:
3232
- name: Generate Hashseed
3333
id: generate
3434
run: |
35-
python -c "from random import randint;
35+
python -c "import os
36+
from random import randint
3637
hashseed = randint(0, 4294967295)
3738
print(f'{hashseed=}')
38-
print(f'::set-output name=hashseed::{hashseed}')"
39+
open(os.environ['GITHUB_OUTPUT'], 'a').write(f'hashseed={hashseed}')"
3940
4041
# Tests job
4142
tests:
@@ -53,7 +54,7 @@ jobs:
5354
steps:
5455
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
5556
- name: Check out code
56-
uses: actions/checkout@v2
57+
uses: actions/checkout@main
5758

5859
- name: Set up Python ${{ matrix.python-version }}
5960
uses: actions/setup-python@main

0 commit comments

Comments
 (0)