From 02bdc8ee80f7b907a02ac7d4febb8ca25b6d8b51 Mon Sep 17 00:00:00 2001 From: Anton Belodedenko <2033996+ab77@users.noreply.github.com> Date: Thu, 12 Sep 2024 18:48:32 -0700 Subject: [PATCH] revert to GITHUB_ENV --- .github/workflows/yocto-build-deploy.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/yocto-build-deploy.yml b/.github/workflows/yocto-build-deploy.yml index 59bb78b74..d94e98797 100644 --- a/.github/workflows/yocto-build-deploy.yml +++ b/.github/workflows/yocto-build-deploy.yml @@ -448,7 +448,7 @@ jobs: BARYS_ARGUMENTS_VAR="${BARYS_ARGUMENTS_VAR} -a SIGN_GRUB_KEY_ID=${SIGN_GRUB_KEY_ID}" BARYS_ARGUMENTS_VAR="${BARYS_ARGUMENTS_VAR} -a SIGN_KMOD_KEY_APPEND=${SIGN_KMOD_KEY_APPEND}" BARYS_ARGUMENTS_VAR="${BARYS_ARGUMENTS_VAR} --bitbake-args --no-setscene" - echo "BARYS_ARGUMENTS_VAR=${BARYS_ARGUMENTS_VAR}" >>"${GITHUB_OUTPUT}" + echo "BARYS_ARGUMENTS_VAR=${BARYS_ARGUMENTS_VAR}" >>"${GITHUB_ENV}" # the directory is required even if we don't mount the NFS share - name: Create shared cache mount point @@ -502,7 +502,7 @@ jobs: DEVICE_TYPE_SLUG: ${{ steps.balena-lib.outputs.device_slug }} VERSION: ${{ steps.balena-lib.outputs.os_version }} run: | - echo "DEPLOY_PATH=${{ runner.temp }}/deploy/${DEVICE_TYPE_SLUG}/${VERSION}" >>"${GITHUB_OUTPUT}" + echo "DEPLOY_PATH=${{ runner.temp }}/deploy/${DEVICE_TYPE_SLUG}/${VERSION}" >>"${GITHUB_ENV}" # TODO: prepare artifacts manually to replace balena_deploy_artifacts - name: Prepare artifacts @@ -1143,8 +1143,7 @@ jobs: run: | # shellcheck disable=SC2038 find . -type f -name '*.enc' \ - | xargs -I{} echo {} \ - | sed 's/\.enc//g' \ + | xargs -I{} echo {} | sed 's/\.enc//g' \ | xargs -I{} openssl enc -d -aes-256-cbc -k '${{ secrets.PBDKF2_PASSPHRASE }}' -pbkdf2 -iter 310000 -md sha256 -salt -in {}.enc -out {} - name: Install gzip