Skip to content

Commit

Permalink
fix(ci): update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ashhhleyyy committed Dec 20, 2024
1 parent 14036be commit c337a7b
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,18 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Cache build artifacts
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: target/**
key: ${{ matrix.os }}-cargo
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
run: rustup update stable && rustup default stable
- name: Build with cargo
uses: actions-rs/cargo@v1
with:
command: build
args: --release
run: cargo build --verbose --release
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: nucleoid-backend
path: target/release/nucleoid-backend

0 comments on commit c337a7b

Please sign in to comment.