From 7aaa3a7fbc28e587e0e5fea7ec56c100a721b42d Mon Sep 17 00:00:00 2001 From: jasquat Date: Fri, 24 Feb 2023 14:00:21 -0500 Subject: [PATCH] set-output is deprecated w/ burnettk --- .github/workflows/backend_tests.yml | 23 ------------------- .../docker_image_for_main_builds.yml | 4 ++-- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/.github/workflows/backend_tests.yml b/.github/workflows/backend_tests.yml index cc11adb6..11725f7c 100644 --- a/.github/workflows/backend_tests.yml +++ b/.github/workflows/backend_tests.yml @@ -119,29 +119,6 @@ jobs: pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry nox --version - # - name: Compute pre-commit cache key - # if: matrix.session == 'pre-commit' - # id: pre-commit-cache - # shell: python - # run: | - # import hashlib - # import sys - # - # python = "py{}.{}".format(*sys.version_info[:2]) - # payload = sys.version.encode() + sys.executable.encode() - # digest = hashlib.sha256(payload).hexdigest() - # result = "${{ runner.os }}-{}-{}-pre-commit".format(python, digest[:8]) - # - # print("::set-output name=result::{}".format(result)) - # - # - name: Restore pre-commit cache - # uses: actions/cache@v3.0.11 - # if: matrix.session == 'pre-commit' - # with: - # path: ~/.cache/pre-commit - # key: ${{ steps.pre-commit-cache.outputs.result }}-${{ hashFiles('.pre-commit-config.yaml') }} - # restore-keys: | - # ${{ steps.pre-commit-cache.outputs.result }}- - name: Setup Mysql uses: mirromutth/mysql-action@v1.1 with: diff --git a/.github/workflows/docker_image_for_main_builds.yml b/.github/workflows/docker_image_for_main_builds.yml index 13bece7b..b9c94a0b 100644 --- a/.github/workflows/docker_image_for_main_builds.yml +++ b/.github/workflows/docker_image_for_main_builds.yml @@ -53,7 +53,7 @@ jobs: - name: Get current date id: date - run: echo "::set-output name=date::$(date -u +'%Y-%m-%d_%H-%M-%S')" + run: echo "date=$(date -u +'%Y-%m-%d_%H-%M-%S')" >> $GITHUB_OUTPUT - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v4.3.0 @@ -94,7 +94,7 @@ jobs: - name: Get current date id: date - run: echo "::set-output name=date::$(date -u +'%Y-%m-%d_%H-%M-%S')" + run: echo "date=$(date -u +'%Y-%m-%d_%H-%M-%S')" >> $GITHUB_OUTPUT - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v4.3.0