Skip to content

Commit

Permalink
It appears there is a syntax issue in the YAML file. The run step for…
Browse files Browse the repository at this point in the history
… setting the environment variables might be causing this problem. Let's review and correct the YAML file.
  • Loading branch information
spezifisch committed Jul 27, 2024
1 parent d992702 commit 132eca2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 132eca2

Please sign in to comment.