From 3ec33aa90cb06b74c68f6e4fa0c667267d8f326a Mon Sep 17 00:00:00 2001 From: kifir23917 <159958110+kifir23917@users.noreply.github.com> Date: Sat, 29 Jun 2024 23:06:49 +0300 Subject: [PATCH] Get rid of `release_date` environment variable - now we use `release_date` input of GHA instead --- .github/workflows/build-firmware.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index 9da282b..6701cb9 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -19,7 +19,7 @@ jobs: id: set-variables run: | if [ "${{github.event_name}}" = "schedule" ]; then - echo "release_date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV + echo "release_date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT fi if [ "${{github.event_name}}" == "push" -o "${{github.event_name}}" == "schedule" -o "${{github.event_name}}" == "workflow_dispatch" ] && [ "${{github.ref}}" == "refs/heads/master" -o "${{github.ref}}" == "refs/heads/main" ]; then echo 'upload=bundles' >> $GITHUB_OUTPUT @@ -32,6 +32,7 @@ jobs: - uses: ./ext/rusefi/.github/workflows/custom-board-build with: + release_date: ${{steps.set-variables.outputs.release_date}} artifacts: bin srec hex list map elf bundle autoupdate uploads: ini ${{steps.set-variables.outputs.upload}} push: ${{steps.set-variables.outputs.push}}