Skip to content

Commit

Permalink
CI: stop using set-output
Browse files Browse the repository at this point in the history
The set-output command has been
deprecated for a couple of years
by now, switch to using GITHUB_OUTPUT
to reduce the noise in the CI logs.
  • Loading branch information
pjonsson committed Aug 7, 2024
1 parent a1ab57c commit 2ca2d28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pyspy-profiling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ jobs:
export LOCAL_UID=$(id -u $USER)
export LOCAL_GID=$(id -g $USER)
export $(grep -v '^#' .env_simple | xargs)
echo "::set-output name=PID::$(docker inspect --format '{{.State.Pid}}' $(docker inspect -f '{{.Name}}' \
echo "PID=$(docker inspect --format '{{.State.Pid}}' $(docker inspect -f '{{.Name}}' \
$(docker compose -f docker-compose.yaml -f docker-compose.db.yaml -f docker-compose.pyspy.yaml ps -q ows_18) \
| cut -c2-))"
| cut -c2-))" >> $GITHUB_OUTPUT
- name: Run py-spy profiling (stage 1 - run profiling service)
timeout-minutes: 1
Expand Down

0 comments on commit 2ca2d28

Please sign in to comment.