Skip to content

Commit

Permalink
Fix deprecated set-output example
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonshatch authored Sep 12, 2023
1 parent 6a1d2f0 commit d3b4001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
# record start time so we can verify only newly found vulnerabilities
- name: Define job start time
run: |
import time
import os, time
n = int(round(time.time() * 1000))
print(f"::set-output name=jobStartTime::{n}")
print(f"jobStartTime={n}", file=open(os.environ("GITHUB_OUTPUT", "a"))
shell: python
id: set-job-start-time
# steps to build and run integration tests
Expand Down

0 comments on commit d3b4001

Please sign in to comment.