Skip to content

Commit

Permalink
ci: use sed for version change
Browse files Browse the repository at this point in the history
  • Loading branch information
ifiokjr committed Jun 8, 2023
1 parent a2af78e commit 774a860
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/devenv/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ runs:
restore-keys: ${{ runner.os }}-nix-cache-

- name: rust toolchain
run: echo '[toolchain]\nchannel = "${{inputs.rust}}"\nprofile = "default"' > rust-toolchain.toml
run: |
sed -i 's/channel = ".*"/channel = "${{ inputs.rust }}"/' rust-toolchain.toml
shell: bash

- name: install nix
Expand Down

0 comments on commit 774a860

Please sign in to comment.