Skip to content

Commit

Permalink
ci: fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Apr 5, 2023
1 parent 230c7c8 commit 6e35678
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/actions/rustup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,15 @@ inputs:
runs:
using: composite
steps:
- name: Remove `profile` line on non-MacOS
- name: Remove `profile` line on MacOS
shell: bash
if: runner.os == 'macOS'
run: |
# Inherit the channel by removing `profile` line
sed -i '' '/profile/d' rust-toolchain.toml
run: sed -i '' '/profile/d' rust-toolchain.toml

- name: Remove `profile` line on MacOS
- name: Remove `profile` line on non-MacOS
shell: bash
if: runner.os != 'macOS'
run: |
sed -i '/profile/d' rust-toolchain.toml
run: sed -i '/profile/d' rust-toolchain.toml

- name: Set minimal
shell: bash
Expand Down

0 comments on commit 6e35678

Please sign in to comment.