Skip to content

Commit

Permalink
Merge pull request #65 from microsoft/user/jusmoore/artifacts
Browse files Browse the repository at this point in the history
Update pipelines to remove deprecated actions
  • Loading branch information
DrChat authored Nov 15, 2024
2 parents dd20648 + 3eb6bb5 commit 2fb0423
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,26 +54,18 @@ jobs:
- uses: actions/checkout@v2

- name: Install latest stable
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: ${{ matrix.host_target }}
override: true
targets: ${{ matrix.host_target }}

- name: test
uses: actions-rs/cargo@v1
with:
command: test
args: --release
run: cargo test --release

- name: build
uses: actions-rs/cargo@v1
with:
command: build
args: --target=${{ matrix.host_target }} --release
run: cargo build --target ${{ matrix.host_target }} --release

- name: upload artifacts
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
# Artifact name
name: ${{ matrix.artifact }}
Expand Down

0 comments on commit 2fb0423

Please sign in to comment.