From 132eca268497b7bb83cd15656175dfd44bc1203d Mon Sep 17 00:00:00 2001 From: spezifisch Date: Sat, 27 Jul 2024 06:58:43 +0200 Subject: [PATCH] It appears there is a syntax issue in the YAML file. The run step for setting the environment variables might be causing this problem. Let's review and correct the YAML file. --- .github/workflows/build-test.yml | 3 ++- .github/workflows/release.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 7d04a6a..ed1ede7 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -25,7 +25,8 @@ jobs: override: true - name: Set environment variables - run: echo "TARGET=$(rustc -vV | grep 'host: ' | cut -d' ' -f2)" >> $GITHUB_ENV + run: | + echo "TARGET=$(rustc -vV | grep 'host: ' | cut -d' ' -f2)" >> $GITHUB_ENV - name: Build run: cargo build --release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc4c981..a4361d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,8 @@ jobs: override: true - name: Set environment variables - run: echo "TARGET=$(rustc -vV | grep 'host: ' | cut -d' ' -f2)" >> $GITHUB_ENV + run: | + echo "TARGET=$(rustc -vV | grep 'host: ' | cut -d' ' -f2)" >> $GITHUB_ENV - name: Build run: cargo build --release