aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar onerandomusername <[email protected]>2022-11-05 14:23:51 -0400
committerGravatar onerandomusername <[email protected]>2022-11-05 14:23:51 -0400
commit004ccf920d9eb14d0d8b461644db00b3d10d4b0f (patch)
tree0d4ee07175fede9b6ef8f61542f98e11d2256d13 /.github
parentMerge pull request #153 from python-discord/3.11-upgrade (diff)
stop using the deprecated set-output command
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yaml6
-rw-r--r--.github/workflows/sentry_release.yaml2
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 1be5d2f..eb53e5a 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -30,7 +30,7 @@ jobs:
run: |
set -eu
version=$(python scripts/version.py)
- echo "::set-output name=version::$version"
+ echo "version=$version" >> $GITHUB_OUTPUT
printf "%s\n" "${version}"
# The current version (v2) of Docker's build-push action uses buildx,
@@ -63,8 +63,8 @@ jobs:
cache_from="type=gha,scope=buildkit-${GITHUB_REF}"
cache_to="${cache_from},mode=max"
fi
- echo "::set-output name=cache_from::${cache_from:-}"
- echo "::set-output name=cache_to::${cache_to:-}"
+ echo "cache_from=${cache_from:-}" >> $GITHUB_OUTPUT
+ echo "cache_to=${cache_to:-}" >> $GITHUB_OUTPUT
# Build the "DEV" version of the image, which targets the `venv` stage
# and includes development dependencies.
diff --git a/.github/workflows/sentry_release.yaml b/.github/workflows/sentry_release.yaml
index 4135b4f..7d84946 100644
--- a/.github/workflows/sentry_release.yaml
+++ b/.github/workflows/sentry_release.yaml
@@ -20,7 +20,7 @@ jobs:
run: |
set -eu
version=$(python scripts/version.py)
- echo "::set-output name=version::$version"
+ echo "version=$version" >> $GITHUB_OUTPUT
printf "%s\n" "${version}"
- name: Create a Sentry.io release