Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed96c5d

Browse filesBrowse files
authored
Merge pull request #21 from rust-osdev/develop
Update workflow
2 parents 2323181 + 4bf246c commit ed96c5d
Copy full SHA for ed96c5d

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎.github/workflows/rust.yml

Copy file name to clipboardExpand all lines: .github/workflows/rust.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install Rustup
3030
run: |
3131
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
32-
echo ::add-path::$HOME/.cargo/bin
32+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
3333
if: runner.os == 'macOS'
3434

3535
- name: "Print Rust Version"
@@ -43,7 +43,7 @@ jobs:
4343
path: binaries
4444
key: ${{ runner.OS }}-binaries
4545
- name: Add binaries/bin to PATH
46-
run: echo ::add-path::$GITHUB_WORKSPACE/binaries/bin
46+
run: echo "$GITHUB_WORKSPACE/binaries/bin" >> $GITHUB_PATH
4747
shell: bash
4848

4949
- name: "Run cargo build"
@@ -75,7 +75,7 @@ jobs:
7575
- name: Install Scoop (Windows)
7676
run: |
7777
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
78-
echo ::add-path::$HOME\scoop\shims
78+
echo "$HOME\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
7979
if: runner.os == 'Windows'
8080
shell: pwsh
8181
- name: Install QEMU (Windows)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.