diff options
author | 2022-11-05 18:38:50 +0000 | |
---|---|---|
committer | 2022-11-05 18:38:50 +0000 | |
commit | 375fcd9b2fedc96e0ab4d35e4806b8147f6fdf89 (patch) | |
tree | 0d4ee07175fede9b6ef8f61542f98e11d2256d13 | |
parent | Merge pull request #153 from python-discord/3.11-upgrade (diff) | |
parent | stop using the deprecated set-output command (diff) |
Merge pull request #155 from onerandomusername/github-deprecations
stop using the deprecated set-output command
-rw-r--r-- | .github/workflows/build.yaml | 6 | ||||
-rw-r--r-- | .github/workflows/sentry_release.yaml | 2 |
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 |